mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
profile-widget: profilewidget2.cpp, silence unused parameter
Add Q_UNUSED for not used parameter Signed-off-by: Jan Iversen <jani@apache.org>
This commit is contained in:
parent
46ff506096
commit
158be64883
1 changed files with 2 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue