diff options
author | jan Iversen <jani@apache.org> | 2018-08-06 18:34:52 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-08-07 09:43:27 -0700 |
commit | 72a1bc13255ff443060da7476d38085b1859eae1 (patch) | |
tree | 8dbd5e6a569bff37b6ebb258632fe8410b7a82f6 | |
parent | 46e2e4badf3212473132183d82ce5bfd89c72298 (diff) | |
download | subsurface-72a1bc13255ff443060da7476d38085b1859eae1.tar.gz |
profilewidget: remove warning of unused var
SUBSURFACE_MOBILE does not include the single function that uses the variable
add #ifndef SUBSURFACE_MOBILE to avoid warning
Signed-off-by: Jan Iversen <jani@apache.org>
-rw-r--r-- | profile-widget/profilewidget2.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/profile-widget/profilewidget2.cpp b/profile-widget/profilewidget2.cpp index 79aa2e876..942996df1 100644 --- a/profile-widget/profilewidget2.cpp +++ b/profile-widget/profilewidget2.cpp @@ -89,7 +89,9 @@ static struct _ItemPos { // Constant describing at which z-level the thumbnails are located. // We might add more constants here for easier customability. +#ifndef SUBSURFACE_MOBILE static const double thumbnailBaseZValue = 100.0; +#endif ProfileWidget2::ProfileWidget2(QWidget *parent) : QGraphicsView(parent), currentState(INVALID), |