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>
This commit is contained in:
Tomaz Canabrava 2016-11-01 15:44:30 +01:00 committed by Dirk Hohndel
parent 27d1385c65
commit c110b4a238
3 changed files with 2 additions and 4 deletions

View file

@ -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);