From 35de26821a60bfd195e450407bfad30dc92f15a4 Mon Sep 17 00:00:00 2001 From: Rasmus Karlsson Date: Tue, 3 Jul 2018 14:22:39 +0000 Subject: [PATCH] If USEWINSDK is not enabled, fall back to QWidget's nativeEvent --- src/widgets/BaseWindow.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/widgets/BaseWindow.cpp b/src/widgets/BaseWindow.cpp index a7302cb80..71fd0d22f 100644 --- a/src/widgets/BaseWindow.cpp +++ b/src/widgets/BaseWindow.cpp @@ -434,6 +434,8 @@ bool BaseWindow::nativeEvent(const QByteArray &eventType, void *message, long *r default: return QWidget::nativeEvent(eventType, message, result); } +#else + return QWidget::nativeEvent(eventType, message, result); #endif }