summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorQt Forward Merge Bot <qt_forward_merge_bot@qt-project.org>2018-04-07 03:00:17 +0200
committerQt Forward Merge Bot <qt_forward_merge_bot@qt-project.org>2018-04-07 03:00:17 +0200
commit4cda4427b6a2e07dd406362cf7b643b971706b2c (patch)
tree72525327d3070f85def2c379bf98a2c4e09bbc6a /src
parent38f7cecf6f74ef73e1a86ea48a74364e130511a7 (diff)
parent654de8242411dae548795f9b17648608f8a8c28d (diff)
Merge remote-tracking branch 'origin/5.11' into dev
Diffstat (limited to 'src')
-rw-r--r--src/dialogs/dialogs.pro2
-rw-r--r--src/dialogs/plugin.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/dialogs/dialogs.pro b/src/dialogs/dialogs.pro
index 362f55841..ef0878ce5 100644
--- a/src/dialogs/dialogs.pro
+++ b/src/dialogs/dialogs.pro
@@ -72,7 +72,7 @@ DIALOGS_QML_FILES += \
images/window_border.png \
$$WIDGET_DIALOGS_QML_FILES
-ios|android|blackberry|winrt {
+ios|android|blackberry {
DIALOGS_QML_FILES -= $$WIDGET_DIALOGS_QML_FILES
}
diff --git a/src/dialogs/plugin.cpp b/src/dialogs/plugin.cpp
index 8ee1e65d0..1e6740d50 100644
--- a/src/dialogs/plugin.cpp
+++ b/src/dialogs/plugin.cpp
@@ -214,7 +214,7 @@ protected:
bool mobileTouchPlatform = false;
#if defined(Q_OS_IOS)
mobileTouchPlatform = true;
-#elif defined(Q_OS_ANDROID) || defined(Q_OS_BLACKBERRY) || defined(Q_OS_QNX) || defined(Q_OS_WINRT)
+#elif defined(Q_OS_ANDROID) || defined(Q_OS_BLACKBERRY) || defined(Q_OS_QNX)
const auto devices = QTouchDevice::devices();
for (const QTouchDevice *dev : devices)
if (dev->type() == QTouchDevice::TouchScreen)