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:
parent
e5162f81d6
commit
36249f2780
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user