Profile: Conditionally compile pictures-vector on mobile.

This vector is not used on mobile and cause iOS compilation to fail.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2018-04-09 19:58:58 +02:00 committed by Dirk Hohndel
parent e5162f81d6
commit 36249f2780

View file

@ -222,11 +222,11 @@ private:
QList<QGraphicsSimpleTextItem *> gases;
//specifics for ADD and PLAN
#ifndef SUBSURFACE_MOBILE
// Use std::vector<> and std::unique_ptr<>, because QVector<QScopedPointer<...>> is unsupported.
std::vector<std::unique_ptr<DivePictureItem>> pictures;
//specifics for ADD and PLAN
#ifndef SUBSURFACE_MOBILE
QList<DiveHandler *> handles;
void repositionDiveHandlers();
int fixHandlerIndex(DiveHandler *activeHandler);