diff options
Diffstat (limited to 'basicsuite/qtquickcontrols2/main.qml')
-rw-r--r-- | basicsuite/qtquickcontrols2/main.qml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/basicsuite/qtquickcontrols2/main.qml b/basicsuite/qtquickcontrols2/main.qml index cf9522b..473cdea 100644 --- a/basicsuite/qtquickcontrols2/main.qml +++ b/basicsuite/qtquickcontrols2/main.qml @@ -88,7 +88,7 @@ Page { anchors.fill: parent ToolButton { - icon.source: stackView.depth > 1 ? "back.png" : "drawer.png" + icon.name: stackView.depth > 1 ? "back" : "drawer" onClicked: { if (stackView.depth > 1) { stackView.pop() @@ -110,7 +110,7 @@ Page { } ToolButton { - icon.source: "menu.png" + icon.name: "menu" onClicked: optionsMenu.open() Menu { @@ -150,7 +150,7 @@ Page { highlighted: ListView.isCurrentItem onClicked: { listView.currentIndex = index - stackView.push(model.source) + stackView.push("pages/" + model.source) drawer.close() } } @@ -202,7 +202,7 @@ Page { anchors.centerIn: parent anchors.verticalCenterOffset: -50 fillMode: Image.PreserveAspectFit - source: "qt-logo.png" + source: "images/qt-logo.png" } Label { @@ -219,7 +219,7 @@ Page { Image { id: arrow - source: "arrow.png" + source: "images/arrow.png" anchors.left: parent.left anchors.bottom: parent.bottom } |