mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
46e2e4badf
commit
72a1bc1325
1 changed files with 2 additions and 0 deletions
|
@ -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),
|
||||
|
|
Loading…
Add table
Reference in a new issue