mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Untangle Profile from MainTab
This one was easy. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
06e65e4c02
commit
332e484d68
2 changed files with 3 additions and 2 deletions
|
@ -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); \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue