diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-11-05 15:20:05 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-11-05 15:20:05 -0800 |
commit | 332e484d6816f13e99e9cd862446caf5d7b1c38c (patch) | |
tree | e5fd06a8896a052bf8f1e2de6ccb5320e861ae09 /profile-widget | |
parent | 06e65e4c02dc6e043944293be4c91f11e272d945 (diff) | |
download | subsurface-332e484d6816f13e99e9cd862446caf5d7b1c38c.tar.gz |
Untangle Profile from MainTab
This one was easy.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'profile-widget')
-rw-r--r-- | profile-widget/profilewidget2.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/profile-widget/profilewidget2.cpp b/profile-widget/profilewidget2.cpp index 275ae6cde..028562f79 100644 --- a/profile-widget/profilewidget2.cpp +++ b/profile-widget/profilewidget2.cpp @@ -14,8 +14,8 @@ #include "diveplannermodel.h" #include "models.h" #include "divepicturemodel.h" -#include "maintab.h" #include "diveplanner.h" +#include "simplewidgets.h" #include <libdivecomputer/parser.h> #include <QScrollBar> @@ -125,7 +125,6 @@ ProfileWidget2::ProfileWidget2(QWidget *parent) : QGraphicsView(parent), setupItemOnScene(); addItemsToScene(); scene()->installEventFilter(this); - connect(PreferencesDialog::instance(), SIGNAL(settingsChanged()), this, SLOT(settingsChanged())); QAction *action = NULL; #define ADD_ACTION(SHORTCUT, Slot) \ action = new QAction(this); \ |