diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2014-01-22 19:22:07 -0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-01-22 13:28:25 -0800 |
commit | cde9bc0de9f4b7684336ef7209f47a47c8b751ba (patch) | |
tree | d3fd3c51d4e607b61eb2d275a2f51a88646be248 /qt-ui/profile/profilewidget2.cpp | |
parent | f8a4f8de8159bb60235af170d2acb603ec40ccad (diff) | |
download | subsurface-cde9bc0de9f4b7684336ef7209f47a47c8b751ba.tar.gz |
Make the tissues be preferences-aware.
This patch adds a new class DiveCalculatedTissue that's preferences aware.
It knows when to show or hide itself.
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/profile/profilewidget2.cpp')
-rw-r--r-- | qt-ui/profile/profilewidget2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/profile/profilewidget2.cpp b/qt-ui/profile/profilewidget2.cpp index fd579a5c4..3451ddf40 100644 --- a/qt-ui/profile/profilewidget2.cpp +++ b/qt-ui/profile/profilewidget2.cpp @@ -388,7 +388,7 @@ void ProfileWidget2::plotDives(QList<dive*> dives) qDeleteAll(allTissues); allTissues.clear(); for(int i = 0; i < 16; i++){ - DiveCalculatedCeiling *tissueItem = new DiveCalculatedCeiling(); + DiveCalculatedTissue *tissueItem = new DiveCalculatedTissue(); tissueItem->setHorizontalAxis(timeAxis); tissueItem->setVerticalAxis(profileYAxis); tissueItem->setModel(dataModel); |