diff options
author | J-P Nurmi <jpnurmi@digia.com> | 2014-09-10 16:56:11 +0200 |
---|---|---|
committer | J-P Nurmi <jpnurmi@digia.com> | 2014-09-10 19:24:28 +0200 |
commit | 7e7be1883b5260efea274f477936ff990652b981 (patch) | |
tree | b26ce503ee9292dd301246e0f9f05b7ab96887a5 /src/controls/Private | |
parent | 3417eec8525e12f6fdf31009cae9a7b4609211db (diff) | |
download | qtquickcontrols-7e7be1883b5260efea274f477936ff990652b981.tar.gz |
Fallback to the Base style when no Android SDK is available
Change-Id: If85142225e1d0f8a0f7dc4e49757d6a1403a730c
Reviewed-by: Andras Becsi <andras.becsi@digia.com>
Diffstat (limited to 'src/controls/Private')
-rw-r--r-- | src/controls/Private/qquickcontrolsettings.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/controls/Private/qquickcontrolsettings.cpp b/src/controls/Private/qquickcontrolsettings.cpp index aea3ae87..09e77f5f 100644 --- a/src/controls/Private/qquickcontrolsettings.cpp +++ b/src/controls/Private/qquickcontrolsettings.cpp @@ -48,7 +48,7 @@ static QString defaultStyleName() #if defined(QT_WIDGETS_LIB) && !defined(Q_OS_IOS) && !defined(Q_OS_ANDROID) && !defined(Q_OS_BLACKBERRY) && !defined(Q_OS_QNX) && !defined(Q_OS_WINRT) if (QCoreApplication::instance()->inherits("QApplication")) return QLatin1String("Desktop"); -#elif defined(Q_OS_ANDROID) +#elif defined(Q_OS_ANDROID) && !defined(Q_OS_ANDROID_NO_SDK) return QLatin1String("Android"); #endif return QLatin1String("Base"); |