mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 20:12:57 +01:00
Fixed compilation error with clang.
Previously, trying to compile with clang would result in the error: assigning to 'objc_object *' from incompatible type 'DockIconClickEventHandler *'
This commit is contained in:
parent
14ac0adcc7
commit
fee10d800e
@ -6,7 +6,12 @@
|
|||||||
class QMenu;
|
class QMenu;
|
||||||
class QIcon;
|
class QIcon;
|
||||||
class QWidget;
|
class QWidget;
|
||||||
class objc_object;
|
|
||||||
|
#ifdef __OBJC__
|
||||||
|
@class DockIconClickEventHandler;
|
||||||
|
#else
|
||||||
|
class DockIconClickEventHandler;
|
||||||
|
#endif
|
||||||
|
|
||||||
/** Macintosh-specific dock icon handler.
|
/** Macintosh-specific dock icon handler.
|
||||||
*/
|
*/
|
||||||
@ -31,7 +36,7 @@ public slots:
|
|||||||
private:
|
private:
|
||||||
MacDockIconHandler();
|
MacDockIconHandler();
|
||||||
|
|
||||||
objc_object *m_dockIconClickEventHandler;
|
DockIconClickEventHandler *m_dockIconClickEventHandler;
|
||||||
QWidget *m_dummyWidget;
|
QWidget *m_dummyWidget;
|
||||||
QMenu *m_dockMenu;
|
QMenu *m_dockMenu;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user