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:
jan Iversen 2018-05-21 09:41:35 +02:00 committed by Dirk Hohndel
parent 46ff506096
commit 158be64883

View file

@ -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) {