From 6082bc89b080a432e432e4fd56d9470eff156046 Mon Sep 17 00:00:00 2001 From: Tobias Fella Date: Sun, 27 Jul 2025 21:52:20 +0200 Subject: [PATCH] Remove "NeoChat" menu item in global menu BUG: 504429 --- src/app/qml/GlobalMenu.qml | 30 +++++++++++++----------------- 1 file changed, 13 insertions(+), 17 deletions(-) diff --git a/src/app/qml/GlobalMenu.qml b/src/app/qml/GlobalMenu.qml index e2fd66db2..54bf0fd78 100644 --- a/src/app/qml/GlobalMenu.qml +++ b/src/app/qml/GlobalMenu.qml @@ -17,23 +17,6 @@ Labs.MenuBar { required property NeoChatConnection connection - Labs.Menu { - title: i18nc("menu", "NeoChat") - - Labs.MenuItem { - enabled: pageStack.layers.currentItem.title !== i18n("Configure NeoChat…") - text: i18nc("menu", "Configure NeoChat…") - - shortcut: StandardKey.Preferences - onTriggered: NeoChatSettingsView.open() - } - Labs.MenuItem { - text: i18nc("menu", "Quit NeoChat") - - shortcut: StandardKey.Quit - onTriggered: Qt.quit() - } - } Labs.Menu { title: i18nc("menu", "File") @@ -74,6 +57,19 @@ Labs.MenuBar { }); } } + Labs.MenuItem { + enabled: pageStack.layers.currentItem.title !== i18n("Configure NeoChat…") + text: i18nc("menu", "Configure NeoChat…") + + shortcut: StandardKey.Preferences + onTriggered: NeoChatSettingsView.open() + } + Labs.MenuItem { + text: i18nc("menu", "Quit NeoChat") + + shortcut: StandardKey.Quit + onTriggered: Qt.quit() + } } EditMenu { title: i18nc("menu", "Edit")