mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 21:53:23 +00:00
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
1 changed files with 2 additions and 2 deletions
|
@ -222,11 +222,11 @@ private:
|
||||||
|
|
||||||
QList<QGraphicsSimpleTextItem *> gases;
|
QList<QGraphicsSimpleTextItem *> gases;
|
||||||
|
|
||||||
|
//specifics for ADD and PLAN
|
||||||
|
#ifndef SUBSURFACE_MOBILE
|
||||||
// Use std::vector<> and std::unique_ptr<>, because QVector<QScopedPointer<...>> is unsupported.
|
// Use std::vector<> and std::unique_ptr<>, because QVector<QScopedPointer<...>> is unsupported.
|
||||||
std::vector<std::unique_ptr<DivePictureItem>> pictures;
|
std::vector<std::unique_ptr<DivePictureItem>> pictures;
|
||||||
|
|
||||||
//specifics for ADD and PLAN
|
|
||||||
#ifndef SUBSURFACE_MOBILE
|
|
||||||
QList<DiveHandler *> handles;
|
QList<DiveHandler *> handles;
|
||||||
void repositionDiveHandlers();
|
void repositionDiveHandlers();
|
||||||
int fixHandlerIndex(DiveHandler *activeHandler);
|
int fixHandlerIndex(DiveHandler *activeHandler);
|
||||||
|
|
Loading…
Add table
Reference in a new issue