From 047e10a8333269b0bc44a62370a24a6312645abf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82?= Date: Fri, 30 Jul 2021 18:18:30 +0200 Subject: [PATCH] Removed checks for no longer supported Qt 5.11 (#3093) --- src/widgets/BaseWindow.cpp | 4 ---- src/widgets/FramelessEmbedWindow.cpp | 4 ---- 2 files changed, 8 deletions(-) diff --git a/src/widgets/BaseWindow.cpp b/src/widgets/BaseWindow.cpp index 649f2f6da..6cc7c69a3 100644 --- a/src/widgets/BaseWindow.cpp +++ b/src/widgets/BaseWindow.cpp @@ -641,11 +641,7 @@ bool BaseWindow::nativeEvent(const QByteArray &eventType, void *message, long *result) { #ifdef USEWINSDK -# if (QT_VERSION == QT_VERSION_CHECK(5, 11, 1)) - MSG *msg = *reinterpret_cast(message); -# else MSG *msg = reinterpret_cast(message); -# endif bool returnValue = false; diff --git a/src/widgets/FramelessEmbedWindow.cpp b/src/widgets/FramelessEmbedWindow.cpp index 263daf78b..f34759f81 100644 --- a/src/widgets/FramelessEmbedWindow.cpp +++ b/src/widgets/FramelessEmbedWindow.cpp @@ -30,11 +30,7 @@ FramelessEmbedWindow::FramelessEmbedWindow() bool FramelessEmbedWindow::nativeEvent(const QByteArray &eventType, void *message, long *result) { -# if (QT_VERSION == QT_VERSION_CHECK(5, 11, 1)) - MSG *msg = *reinterpret_cast(message); -# else MSG *msg = reinterpret_cast(message); -# endif if (msg->message == WM_COPYDATA) {