summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/controls/Private/qquickcontrolsettings.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/controls/Private/qquickcontrolsettings.cpp b/src/controls/Private/qquickcontrolsettings.cpp
index 6f7dc729..a15c6889 100644
--- a/src/controls/Private/qquickcontrolsettings.cpp
+++ b/src/controls/Private/qquickcontrolsettings.cpp
@@ -82,15 +82,10 @@ static bool fromResource(const QString &path)
bool QQuickControlSettings::hasTouchScreen() const
{
-// QTBUG-36007
-#if defined(Q_OS_ANDROID)
- return true;
-#else
foreach (const QTouchDevice *dev, QTouchDevice::devices())
if (dev->type() == QTouchDevice::TouchScreen)
return true;
return false;
-#endif
}
bool QQuickControlSettings::isMobile() const