summaryrefslogtreecommitdiffstats
path: root/src/controls/Private/qquickcontrolsettings.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/controls/Private/qquickcontrolsettings.cpp')
-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 450f91b6e..dfab577ed 100644
--- a/src/controls/Private/qquickcontrolsettings.cpp
+++ b/src/controls/Private/qquickcontrolsettings.cpp
@@ -93,16 +93,11 @@ static bool fromResource(const QString &path)
bool QQuickControlSettings1::hasTouchScreen() const
{
-// QTBUG-36007
-#if defined(Q_OS_ANDROID)
- return true;
-#else
const auto devices = QTouchDevice::devices();
for (const QTouchDevice *dev : devices)
if (dev->type() == QTouchDevice::TouchScreen)
return true;
return false;
-#endif
}
bool QQuickControlSettings1::isMobile() const