From 2ab34c99f5e85ca144e0ed162ddb5b0256a8b841 Mon Sep 17 00:00:00 2001 From: J-P Nurmi Date: Wed, 15 Jun 2016 14:28:58 +0200 Subject: 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 Reviewed-by: Liang Qi --- examples/quickcontrols2/gallery/gallery.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples') 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 { -- cgit v1.2.3