diff --git a/extensions/extrawindow.cpp b/extensions/extrawindow.cpp index 2ec15a6..2a3b5d1 100644 --- a/extensions/extrawindow.cpp +++ b/extensions/extrawindow.cpp @@ -329,7 +329,7 @@ private: dictionaryWindow.move(ui.display->mapToGlobal(QPoint(x, y - dictionaryWindow.height()))); } - bool nativeEventFilter(const QByteArray&, void* message, LRESULT* result) override + bool nativeEventFilter(const QByteArray&, void* message, long* result) override { auto msg = (MSG*)message; if (msg->message != WM_HOTKEY || msg->wParam != CLICK_THROUGH_HOTKEY) return false;