From d033bef1ded739c056243e673a9e3fbb6c57ef24 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sat, 17 May 2025 08:22:13 +0200 Subject: fix build on Linux & Apple --- qxt-mini/qxtglobalshortcut_p.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'qxt-mini/qxtglobalshortcut_p.h') diff --git a/qxt-mini/qxtglobalshortcut_p.h b/qxt-mini/qxtglobalshortcut_p.h index be708ba6..e6e77809 100644 --- a/qxt-mini/qxtglobalshortcut_p.h +++ b/qxt-mini/qxtglobalshortcut_p.h @@ -34,7 +34,7 @@ #include "qxtglobalshortcut.h" #include #include -#include +#include #include @@ -54,7 +54,7 @@ public: bool unsetShortcut(); static bool error; - bool nativeEventFilter(const QByteArray & eventType, void * message, long * result) override; + bool nativeEventFilter(const QByteArray & eventType, void * message, qintptr * result) override; static void activateShortcut(quint32 nativeKey, quint32 nativeMods, bool is_down); @@ -70,7 +70,7 @@ private: static bool registerShortcut(quint32 nativeKey, quint32 nativeMods); static bool unregisterShortcut(quint32 nativeKey, quint32 nativeMods); - static QHash, QxtGlobalShortcut*> shortcuts; + static QMultiMap, QxtGlobalShortcut*> shortcuts; }; #endif // QXTGLOBALSHORTCUT_P_H -- cgit v1.2.3