aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/profile/profilewidget2.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-06-11 13:54:17 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-06-11 13:55:51 -0700
commitc4aa1f542ccbbbdc78dd3d44fe08f6410b9a5d2c (patch)
tree0bf8d71fc1e4ccca5943f94693ad46c484d796dd /qt-ui/profile/profilewidget2.h
parent397e39eb4fb006dfc2fda80c482c03045f6a9ac9 (diff)
downloadsubsurface-c4aa1f542ccbbbdc78dd3d44fe08f6410b9a5d2c.tar.gz
Profile: add a flag to force redrawing the profile
This is needed if something has changed that requires a redraw, but the plotDives() function can't tell (for example when a dive computer has been deleted and there's now a different DC in the same spot, with the same number - see next commit). Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/profile/profilewidget2.h')
-rw-r--r--qt-ui/profile/profilewidget2.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/profile/profilewidget2.h b/qt-ui/profile/profilewidget2.h
index 7d55fe5d0..f908543d1 100644
--- a/qt-ui/profile/profilewidget2.h
+++ b/qt-ui/profile/profilewidget2.h
@@ -131,6 +131,7 @@ private:
QString backgroundFile;
ToolTipItem *toolTipItem;
bool isPlotZoomed;
+ bool forceReplot;
// All those here should probably be merged into one structure,
// So it's esyer to replicate for more dives later.
// In the meantime, keep it here.