diff options
author | J-P Nurmi <jpnurmi@gmail.com> | 2014-09-01 15:01:23 +0200 |
---|---|---|
committer | Richard Moe Gustavsen <richard.gustavsen@digia.com> | 2014-09-18 15:57:09 +0200 |
commit | 5578b07cc65a3e7cf1cc8fe7d6232844f98202b1 (patch) | |
tree | e661dbe4b2342f3ab66f479883a37d6ce82ebf10 /src/controls/Private/qquickcontrolsettings.cpp | |
parent | 9328e5260f7864fec0624937a91c5dd45b754b9c (diff) | |
download | qtquickcontrols-5578b07cc65a3e7cf1cc8fe7d6232844f98202b1.tar.gz |
Add iOS style stub (NOTE: cherry-pick of faa5f59)
The current look and feel on iOS (with the default Base style)
is terrible. This commit alone doesn't change anything, but it
allows us to do minor iOS-specific tweaks that will greatly
improve the usability on iOS already in Qt 5.4.
Change-Id: I86764dd92bdfaae8170a8cd6709177a9a064cda8
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@digia.com>
Diffstat (limited to 'src/controls/Private/qquickcontrolsettings.cpp')
-rw-r--r-- | src/controls/Private/qquickcontrolsettings.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/controls/Private/qquickcontrolsettings.cpp b/src/controls/Private/qquickcontrolsettings.cpp index 09e77f5f..ee1b57df 100644 --- a/src/controls/Private/qquickcontrolsettings.cpp +++ b/src/controls/Private/qquickcontrolsettings.cpp @@ -50,6 +50,8 @@ static QString defaultStyleName() return QLatin1String("Desktop"); #elif defined(Q_OS_ANDROID) && !defined(Q_OS_ANDROID_NO_SDK) return QLatin1String("Android"); +#elif defined(Q_OS_IOS) + return QLatin1String("iOS"); #endif return QLatin1String("Base"); } |