mirror of
https://github.com/tnodir/fort
synced 2024-11-15 08:35:08 +00:00
UI: Fix build with Qt 6.0
This commit is contained in:
parent
f1da128f89
commit
9cb853cdb1
@ -5,6 +5,7 @@
|
||||
#include <QInputDialog>
|
||||
#include <QMenu>
|
||||
#include <QMessageBox>
|
||||
#include <QMouseEvent>
|
||||
#include <QQmlApplicationEngine>
|
||||
#include <QQmlContext>
|
||||
#include <QSystemTrayIcon>
|
||||
|
@ -86,7 +86,7 @@ int NativeEventFilter::getKeyId(quint32 nativeMod, quint32 nativeKey) const
|
||||
}
|
||||
|
||||
bool NativeEventFilter::nativeEventFilter(const QByteArray &eventType,
|
||||
void *message, long *result)
|
||||
void *message, qintptr *result)
|
||||
{
|
||||
Q_UNUSED(eventType)
|
||||
Q_UNUSED(result)
|
||||
|
@ -17,7 +17,7 @@ public:
|
||||
CLASS_DELETE_COPY_MOVE(NativeEventFilter)
|
||||
|
||||
bool nativeEventFilter(const QByteArray &eventType,
|
||||
void *message, long *result) override;
|
||||
void *message, qintptr *result) override;
|
||||
|
||||
bool registerHotKey(int hotKeyId,
|
||||
Qt::Key keyCode,
|
||||
|
Loading…
Reference in New Issue
Block a user