fixed window frame for qt 5.11.1

This commit is contained in:
fourtf 2018-08-09 15:13:11 +02:00
parent e1f180ac28
commit 81f2f8781a

View file

@ -459,7 +459,11 @@ 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;