diff --git a/lib/libcommuni b/lib/libcommuni index a196c5382..c613600e6 160000 --- a/lib/libcommuni +++ b/lib/libcommuni @@ -1 +1 @@ -Subproject commit a196c53829f304b854ae79a770ce537b953a8e60 +Subproject commit c613600e6a52e6d3166247a05205cf1c755d4868 diff --git a/src/widgets/BaseWindow.cpp b/src/widgets/BaseWindow.cpp index 032167c00..cd0e8ec58 100644 --- a/src/widgets/BaseWindow.cpp +++ b/src/widgets/BaseWindow.cpp @@ -641,11 +641,7 @@ bool BaseWindow::nativeEvent(const QByteArray &eventType, void *message, qintptr *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) {