summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Jan Mulder <jlmulder@xs4all.nl>2017-10-13 10:58:00 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-11-19 12:20:43 -0800
commitbde7caa6217949a400d9b3603f0c08e90ffd5d1d (patch)
treefc9f61ea032bb485c1c049cebdee672806763ca2
parent24fae95070d7ec82cebc854e744d9d9e23359808 (diff)
downloadsubsurface-bde7caa6217949a400d9b3603f0c08e90ffd5d1d.tar.gz
Remove dead code
While investigating Qt 5.9.2 problems, I found this unused code. Just remove it. Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
-rw-r--r--core/qt-gui.h1
-rw-r--r--subsurface-desktop-helper.cpp1
2 files changed, 0 insertions, 2 deletions
diff --git a/core/qt-gui.h b/core/qt-gui.h
index 1fc7d161e..9bfe0e001 100644
--- a/core/qt-gui.h
+++ b/core/qt-gui.h
@@ -11,7 +11,6 @@ void set_non_bt_addresses();
#if defined(SUBSURFACE_MOBILE)
#include <QQuickWindow>
-extern QObject *qqWindowObject;
#endif
#endif // QT_GUI_H
diff --git a/subsurface-desktop-helper.cpp b/subsurface-desktop-helper.cpp
index 34b04e928..8356b9fe8 100644
--- a/subsurface-desktop-helper.cpp
+++ b/subsurface-desktop-helper.cpp
@@ -22,7 +22,6 @@
#include "mobile-widgets/qmlmanager.h"
#include "qt-models/divelistmodel.h"
#include "mobile-widgets/qmlprofile.h"
-QObject *qqWindowObject = NULL;
#endif
static MainWindow *window = NULL;