Port global settings to Kirigami.CategorizedSettings

This commit is contained in:
Carl Schwan
2021-10-17 16:10:59 +02:00
parent 48e410196c
commit fc9f37d4a4
13 changed files with 65 additions and 94 deletions

View File

@@ -255,7 +255,7 @@ Kirigami.ApplicationWindow {
Kirigami.Action {
text: i18n("Settings")
icon.name: "settings-configure"
onTriggered: pushReplaceLayer("qrc:/imports/NeoChat/Page/SettingsPage.qml")
onTriggered: pageStack.pushDialogLayer("qrc:/imports/NeoChat/Settings/SettingsPage.qml")
enabled: pageStack.layers.currentItem.title !== i18n("Settings")
shortcut: StandardKey.Preferences
},