aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@qt.io>2016-06-15 14:28:58 +0200
committerJ-P Nurmi <jpnurmi@qt.io>2016-06-15 14:22:04 +0000
commit2ab34c99f5e85ca144e0ed162ddb5b0256a8b841 (patch)
treea1e23b151dee94a9966422e2a3c99aa4f5b8dcb6 /examples
parentaab84a564b098d990eeaf7f14306860e2710cef6 (diff)
Gallery: fix the default style setting
A problem noticed in release testing: Run the Gallery example without explicitly specifying any style. The Gallery runs with the Default style, but the settings dialog wrongly claims that it's running with the Universal style. The situation is easy to emulate by removing ~/.config/QtProject/Gallery.conf (to clear the previously stored style setting). => Fix the wrong default value (it was wrong because back in the days the Universal style was used by default). Change-Id: I7eb7565cb78e68cf5e85527e53724af217973584 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io> Reviewed-by: Liang Qi <liang.qi@qt.io>
Diffstat (limited to 'examples')
-rw-r--r--examples/quickcontrols2/gallery/gallery.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/quickcontrols2/gallery/gallery.qml b/examples/quickcontrols2/gallery/gallery.qml
index 113874a9..cc458087 100644
--- a/examples/quickcontrols2/gallery/gallery.qml
+++ b/examples/quickcontrols2/gallery/gallery.qml
@@ -54,7 +54,7 @@ ApplicationWindow {
Settings {
id: settings
- property string style: "Universal"
+ property string style: "Default"
}
header: ToolBar {