diff options
| author | Jeremy Rimpo <jeremy.rimpo@servermonkey.com> | 2021-12-06 03:51:08 -0600 |
|---|---|---|
| committer | Mikaƫl Capelle <capelle.mikael@gmail.com> | 2022-04-19 15:17:23 +0200 |
| commit | c4b2be45d29a247422e60bb8fdf1664c10384eee (patch) | |
| tree | 729640dc3e5105fe6eea04a5a03451176fc91a7e /src/envshell.cpp | |
| parent | ec01532ecbd2d7c99d1b3bdd8cf261795df59327 (diff) | |
First pass for Qt6 compatibility
Diffstat (limited to 'src/envshell.cpp')
| -rw-r--r-- | src/envshell.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/envshell.cpp b/src/envshell.cpp index 33ec0624..d38859a2 100644 --- a/src/envshell.cpp +++ b/src/envshell.cpp @@ -70,9 +70,9 @@ public: { } - bool nativeEventFilter(const QByteArray& type, void* m, long* lresultOut) override + bool nativeEventFilter(const QByteArray& eventType, void* message, qintptr* result) override { - MSG* msg = (MSG*)m; + MSG* msg = (MSG*)message; if (!msg) { return false; } @@ -81,8 +81,8 @@ public: const bool r = m_f(msg->hwnd, msg->message, msg->wParam, msg->lParam, &lr); - if (lresultOut) { - *lresultOut = lr; + if (result) { + *result = lr; } return r; |
