From 158be6488394ef107dc134cd623f1a9e342bbdd9 Mon Sep 17 00:00:00 2001 From: jan Iversen Date: Mon, 21 May 2018 09:41:35 +0200 Subject: [PATCH] profile-widget: profilewidget2.cpp, silence unused parameter Add Q_UNUSED for not used parameter Signed-off-by: Jan Iversen --- profile-widget/profilewidget2.cpp | 2 ++ 1 file changed, 2 insertions(+) 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) {