Removed checks for no longer supported Qt 5.11 (#3093)

This commit is contained in:
Paweł 2021-07-30 18:18:30 +02:00 committed by GitHub
parent 3f0db00360
commit 047e10a833
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 8 deletions

View file

@ -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<MSG **>(message);
# else
MSG *msg = reinterpret_cast<MSG *>(message);
# endif
bool returnValue = false;

View file

@ -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<MSG **>(message);
# else
MSG *msg = reinterpret_cast<MSG *>(message);
# endif
if (msg->message == WM_COPYDATA)
{