mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
fixed window frame for qt 5.11.1
This commit is contained in:
parent
e1f180ac28
commit
81f2f8781a
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue