summaryrefslogtreecommitdiffstats
path: root/qt-ui/profile/diveprofileitem.cpp
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2014-01-22 17:10:18 -0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-01-22 12:35:52 -0800
commitbc7b221498e6f07c26fd8455f9992657f0a1a162 (patch)
tree05eddc0a41efa99c4fea12dfb22efa3afb37f8db /qt-ui/profile/diveprofileitem.cpp
parent4005ee2ae88000f60839ffead6cdcf07bb598cb5 (diff)
downloadsubsurface-bc7b221498e6f07c26fd8455f9992657f0a1a162.tar.gz
Prepare for plotting partial pressures in the new profile
This patch makes the cartesian axis of the profile depth shrink and (together with it) the Profile Depth and the grid lines. There will probabla bey a lot of things that didn't have their correct position fixed, so I'll fix them in the later commits. Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/profile/diveprofileitem.cpp')
-rw-r--r--qt-ui/profile/diveprofileitem.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/qt-ui/profile/diveprofileitem.cpp b/qt-ui/profile/diveprofileitem.cpp
index 5ddef1e90..1c49b7eee 100644
--- a/qt-ui/profile/diveprofileitem.cpp
+++ b/qt-ui/profile/diveprofileitem.cpp
@@ -135,7 +135,6 @@ void DiveProfileItem::modelDataChanged()
pat.setColorAt(1, getColor(DEPTH_BOTTOM));
pat.setColorAt(0, getColor(DEPTH_TOP));
setBrush(QBrush(pat));
- AbstractProfilePolygonItem::preferencesChanged();
int last = -1;
for (int i = 0, count = dataModel->rowCount(); i < count; i++) {