aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quickcontrols2/gallery/gallery.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/quickcontrols2/gallery/gallery.qml')
-rw-r--r--examples/quickcontrols2/gallery/gallery.qml8
1 files changed, 3 insertions, 5 deletions
diff --git a/examples/quickcontrols2/gallery/gallery.qml b/examples/quickcontrols2/gallery/gallery.qml
index 872bdb44..f53ce735 100644
--- a/examples/quickcontrols2/gallery/gallery.qml
+++ b/examples/quickcontrols2/gallery/gallery.qml
@@ -51,10 +51,10 @@
import QtQuick
import QtQuick.Layouts
import QtQuick.Controls
-import QtQuick.Controls.Material
-import QtQuick.Controls.Universal
import Qt.labs.settings
+import "." as App
+
ApplicationWindow {
id: window
width: 360
@@ -113,9 +113,7 @@ ApplicationWindow {
onTriggered: optionsMenu.open()
}
- header: ToolBar {
- Material.foreground: "white"
-
+ header: App.ToolBar {
RowLayout {
spacing: 20
anchors.fill: parent