From 332e484d6816f13e99e9cd862446caf5d7b1c38c Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Thu, 5 Nov 2015 15:20:05 -0800 Subject: Untangle Profile from MainTab This one was easy. Signed-off-by: Dirk Hohndel --- profile-widget/profilewidget2.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'profile-widget/profilewidget2.cpp') 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 #include @@ -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); \ -- cgit v1.2.3-70-g09d2