summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/corelib/kernel/qcoreapplication_win.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/kernel/qcoreapplication_win.cpp b/src/corelib/kernel/qcoreapplication_win.cpp
index 7e470a9d56..0109e2c658 100644
--- a/src/corelib/kernel/qcoreapplication_win.cpp
+++ b/src/corelib/kernel/qcoreapplication_win.cpp
@@ -725,7 +725,7 @@ QString decodeMSG(const MSG& msg)
break;
case WM_CREATE:
{
- const LPCREATESTRUCT lpcs = reinterpret_cast<const LPCREATESTRUCT>(lParam);
+ auto lpcs = reinterpret_cast<LPCREATESTRUCT>(lParam);
QString className;
if (lpcs->lpszClass != nullptr) {
className = HIWORD(lpcs->lpszClass) == 0
@@ -847,7 +847,7 @@ QString decodeMSG(const MSG& msg)
break;
case WM_WINDOWPOSCHANGED:
{
- const LPWINDOWPOS winPos = reinterpret_cast<const LPWINDOWPOS>(lParam);
+ auto winPos = reinterpret_cast<LPWINDOWPOS>(lParam);
if (!winPos)
break;
const auto insertAfter = quintptr(winPos->hwndInsertAfter);