mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 18:43:24 +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;
|
||||
|
||||
//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…
Add table
Reference in a new issue