diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-07-02 20:00:57 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-07-03 09:37:54 -0700 |
commit | 2a55e55868870731258fe2230321ed23bc0cbaed (patch) | |
tree | 052a56c9fa7c90ee6ec8174c01d162242ee31743 /qt-ui/printlayout.cpp | |
parent | cd65c8512d2eda8177a44324ec1afd771f733236 (diff) | |
download | subsurface-2a55e55868870731258fe2230321ed23bc0cbaed.tar.gz |
UI restructure: plotDive: plot current dive by default & use displayed_dive
No longer use the dive structure that is passed in but instead always use
the displayed_dive to display things.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/printlayout.cpp')
-rw-r--r-- | qt-ui/printlayout.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/printlayout.cpp b/qt-ui/printlayout.cpp index e0bb4995f..9f507a394 100644 --- a/qt-ui/printlayout.cpp +++ b/qt-ui/printlayout.cpp @@ -202,7 +202,7 @@ void PrintLayout::printProfileDives(int divesPerRow, int divesPerColumn) profile->setFrameStyle(profileFrameStyle); profile->setPrintMode(false); profile->resize(originalSize); - profile->plotDive(current_dive); + profile->plotDive(); } /* we create a table that has a fixed height, but can stretch to fit certain width */ |