From 36249f27802540e541bae132a7b644b4a8a2f148 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Mon, 9 Apr 2018 19:58:58 +0200 Subject: 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 --- profile-widget/profilewidget2.h | 4 ++-- 1 file 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 gases; + //specifics for ADD and PLAN +#ifndef SUBSURFACE_MOBILE // Use std::vector<> and std::unique_ptr<>, because QVector> is unsupported. std::vector> pictures; - //specifics for ADD and PLAN -#ifndef SUBSURFACE_MOBILE QList handles; void repositionDiveHandlers(); int fixHandlerIndex(DiveHandler *activeHandler); -- cgit v1.2.3-70-g09d2