From c4aa1f542ccbbbdc78dd3d44fe08f6410b9a5d2c Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Wed, 11 Jun 2014 13:54:17 -0700 Subject: 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 --- qt-ui/profile/profilewidget2.h | 1 + 1 file changed, 1 insertion(+) (limited to 'qt-ui/profile/profilewidget2.h') 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. -- cgit v1.2.3-70-g09d2