summaryrefslogtreecommitdiffstats
path: root/profile-widget/diveprofileitem.cpp
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2016-11-01 15:44:30 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-11-01 09:40:43 -0700
commitc110b4a23809ef7702653383d666bdd7a48ee775 (patch)
treed61d04424113c612840310593e3442261f0c4041 /profile-widget/diveprofileitem.cpp
parent27d1385c65792076d6541df3d19d50822c3c9e78 (diff)
downloadsubsurface-c110b4a23809ef7702653383d666bdd7a48ee775.tar.gz
More preference handling fixes
Remove a few uneeded lines and add more loading code for the preferences. Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'profile-widget/diveprofileitem.cpp')
-rw-r--r--profile-widget/diveprofileitem.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/profile-widget/diveprofileitem.cpp b/profile-widget/diveprofileitem.cpp
index 240032034..c3c716539 100644
--- a/profile-widget/diveprofileitem.cpp
+++ b/profile-widget/diveprofileitem.cpp
@@ -14,8 +14,6 @@
#include "libdivecomputer/parser.h"
#include "profile-widget/profilewidget2.h"
-#include <QSettings>
-
AbstractProfilePolygonItem::AbstractProfilePolygonItem() : QObject(), QGraphicsPolygonItem(), hAxis(NULL), vAxis(NULL), dataModel(NULL), hDataColumn(-1), vDataColumn(-1)
{
setCacheMode(DeviceCoordinateCache);