Untangle Profile from MainTab

This one was easy.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2015-11-05 15:20:05 -08:00
parent 06e65e4c02
commit 332e484d68
2 changed files with 3 additions and 2 deletions

View file

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