aboutsummaryrefslogtreecommitdiffstats
path: root/profile-widget
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2018-04-09 19:58:58 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-04-09 11:29:14 -0700
commit36249f27802540e541bae132a7b644b4a8a2f148 (patch)
tree5647536a821305ee07fb9dab1c862de53b386c13 /profile-widget
parente5162f81d6cd6222dbe0292ada5765619e538748 (diff)
downloadsubsurface-36249f27802540e541bae132a7b644b4a8a2f148.tar.gz
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>
Diffstat (limited to 'profile-widget')
-rw-r--r--profile-widget/profilewidget2.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/profile-widget/profilewidget2.h b/profile-widget/profilewidget2.h
index 7766c4eef..937e0ee4b 100644
--- a/profile-widget/profilewidget2.h
+++ b/profile-widget/profilewidget2.h
@@ -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);