aboutsummaryrefslogtreecommitdiff
path: root/src/qt/macdockiconhandler.h
diff options
context:
space:
mode:
authorJonas Schnelli <jonas.schnelli@include7.ch>2015-03-13 15:40:53 +0100
committerJonas Schnelli <jonas.schnelli@include7.ch>2015-03-13 15:40:53 +0100
commit8b60808c1eaddb402a699ba53d865932e08109ec (patch)
tree7b3a4218e9dca79f030d791f6096e28f0e1b3e21 /src/qt/macdockiconhandler.h
parent89e70e931d3d320d2dae4c296601aab113b2e508 (diff)
[QT] some mac specifiy cleanup (memory handling, unnecessary code)
Diffstat (limited to 'src/qt/macdockiconhandler.h')
-rw-r--r--src/qt/macdockiconhandler.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/qt/macdockiconhandler.h b/src/qt/macdockiconhandler.h
index 1217bd8e88..15a6583ca4 100644
--- a/src/qt/macdockiconhandler.h
+++ b/src/qt/macdockiconhandler.h
@@ -14,12 +14,6 @@ class QMenu;
class QWidget;
QT_END_NAMESPACE
-#ifdef __OBJC__
-@class DockIconClickEventHandler;
-#else
-class DockIconClickEventHandler;
-#endif
-
/** Macintosh-specific dock icon handler.
*/
class MacDockIconHandler : public QObject
@@ -33,7 +27,7 @@ public:
void setIcon(const QIcon &icon);
void setMainWindow(QMainWindow *window);
static MacDockIconHandler *instance();
-
+ static void cleanup();
void handleDockIconClickEvent();
signals:
@@ -42,7 +36,6 @@ signals:
private:
MacDockIconHandler();
- DockIconClickEventHandler *m_dockIconClickEventHandler;
QWidget *m_dummyWidget;
QMenu *m_dockMenu;
QMainWindow *mainWindow;