diff options
author | jan Iversen <jani@libreoffice.org> | 2018-05-21 09:41:35 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-05-21 07:31:16 -0700 |
commit | 158be6488394ef107dc134cd623f1a9e342bbdd9 (patch) | |
tree | c4f501a463845f10cd0dd03da81e0035d8acb42a /profile-widget | |
parent | 46ff506096e6a2dd1ac2f3b7a8076cc5cb9c6d7a (diff) | |
download | subsurface-158be6488394ef107dc134cd623f1a9e342bbdd9.tar.gz |
profile-widget: profilewidget2.cpp, silence unused parameter
Add Q_UNUSED for not used parameter
Signed-off-by: Jan Iversen <jani@apache.org>
Diffstat (limited to 'profile-widget')
-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 5039830fc..de7cebc87 100644 --- a/profile-widget/profilewidget2.cpp +++ b/profile-widget/profilewidget2.cpp @@ -532,6 +532,8 @@ void ProfileWidget2::plotDive(struct dive *d, bool force, bool doClearPictures) #ifndef SUBSURFACE_MOBILE QTime measureDuration; // let's measure how long this takes us (maybe we'll turn of TTL calculation later measureDuration.start(); +#else + Q_UNUSED(doClearPictures); #endif if (currentState != ADD && currentState != PLAN) { if (!d) { |