Give settings window a title

Now the settings window title is "Configure ─ NeoChat" instead of
"Neochat <2>".
This commit is contained in:
Felipe Kinoshita
2022-01-21 21:42:46 +00:00
committed by Carl Schwan
parent fc9e4fc961
commit 6ac6234886
2 changed files with 6 additions and 2 deletions

View File

@@ -28,7 +28,9 @@ Labs.MenuBar {
text: i18nc("menu", "Configure NeoChat...")
shortcut: StandardKey.Preferences
onTriggered: pageStack.pushDialogLayer("qrc:/imports/NeoChat/Settings/SettingsPage.qml")
onTriggered: pageStack.pushDialogLayer("qrc:/imports/NeoChat/Settings/SettingsPage.qml", {}, {
title: i18n("Configure")
})
}
Labs.MenuItem {
text: i18nc("menu", "Quit NeoChat")