Removed checks for no longer supported Qt 5.11 (#3093)
This commit is contained in:
@@ -641,11 +641,7 @@ bool BaseWindow::nativeEvent(const QByteArray &eventType, void *message,
|
|||||||
long *result)
|
long *result)
|
||||||
{
|
{
|
||||||
#ifdef USEWINSDK
|
#ifdef USEWINSDK
|
||||||
# if (QT_VERSION == QT_VERSION_CHECK(5, 11, 1))
|
|
||||||
MSG *msg = *reinterpret_cast<MSG **>(message);
|
|
||||||
# else
|
|
||||||
MSG *msg = reinterpret_cast<MSG *>(message);
|
MSG *msg = reinterpret_cast<MSG *>(message);
|
||||||
# endif
|
|
||||||
|
|
||||||
bool returnValue = false;
|
bool returnValue = false;
|
||||||
|
|
||||||
|
|||||||
@@ -30,11 +30,7 @@ FramelessEmbedWindow::FramelessEmbedWindow()
|
|||||||
bool FramelessEmbedWindow::nativeEvent(const QByteArray &eventType,
|
bool FramelessEmbedWindow::nativeEvent(const QByteArray &eventType,
|
||||||
void *message, long *result)
|
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);
|
MSG *msg = reinterpret_cast<MSG *>(message);
|
||||||
# endif
|
|
||||||
|
|
||||||
if (msg->message == WM_COPYDATA)
|
if (msg->message == WM_COPYDATA)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user