summaryrefslogtreecommitdiffstats
path: root/profile-widget/divepixmapitem.h
diff options
context:
space:
mode:
authorGravatar Jan Mulder <jlmulder@xs4all.nl>2018-01-10 13:55:29 +0100
committerGravatar Jan Mulder <jlmulder@xs4all.nl>2018-01-10 21:28:02 +0100
commit34bc4fc0af953723fd42c4ffc0b0a8bf1cf68b22 (patch)
tree8023534c8b2f6e2c9f92c3bafd82d49011e1052f /profile-widget/divepixmapitem.h
parent9c01315d31e71c857a7a5ef34db6da7343b030ac (diff)
downloadsubsurface-34bc4fc0af953723fd42c4ffc0b0a8bf1cf68b22.tar.gz
Pictures tied to profile are not supported on mobile
Move divepicturemodel.cpp to the desktop only category and deal with the (limited) fallout. We, currently, do not support dive pictures tied to the profile on mobile, so there is no use including this code. Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
Diffstat (limited to 'profile-widget/divepixmapitem.h')
-rw-r--r--profile-widget/divepixmapitem.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/profile-widget/divepixmapitem.h b/profile-widget/divepixmapitem.h
index 6215d4ddd..b3fe3417a 100644
--- a/profile-widget/divepixmapitem.h
+++ b/profile-widget/divepixmapitem.h
@@ -24,7 +24,9 @@ public:
void setPixmap(const QPixmap& pix);
public slots:
void settingsChanged();
+#ifndef SUBSURFACE_MOBILE
void removePicture();
+#endif
void setFileUrl(const QString& s);
protected:
void hoverEnterEvent(QGraphicsSceneHoverEvent *event);