[QT6] Use icon.name

This commit is contained in:
Laurent Montel
2023-07-11 22:24:22 +02:00
parent 882a0d4901
commit 4f3553a59d
2 changed files with 4 additions and 4 deletions

View File

@@ -50,7 +50,7 @@ QQC2.ToolBar {
}
}
Component.onCompleted: userInfo.addAccount = this
icon: "list-add"
icon.name: "list-add"
text: i18n("Add Account")
subtitle: i18n("Log in to an existing account")
onClicked: {

View File

@@ -138,7 +138,7 @@ Kirigami.OverlayDrawer {
Kirigami.BasicListItem {
id: devtoolsButton
icon: "tools"
icon.name: "tools"
text: i18n("Open developer tools")
visible: Config.developerTools
@@ -150,7 +150,7 @@ Kirigami.OverlayDrawer {
Kirigami.BasicListItem {
id: searchButton
icon: "search"
icon.name: "search"
text: i18n("Search in this room")
onClicked: {
@@ -173,7 +173,7 @@ Kirigami.OverlayDrawer {
Kirigami.BasicListItem {
id: locationsButton
icon: "map-flat"
icon.name: "map-flat"
text: i18n("Show locations for this room")
onClicked: pageStack.pushDialogLayer("qrc:/LocationsPage.qml", {