Fix multiple Global menu issues

See individual commits. When backporting, I'll create a separate patchset just for the we-broke-something-bugs without the strings.
This commit is contained in:
Joshua Goins
2025-05-17 21:21:38 -04:00
parent d3fd441c88
commit b5fcad3db0
2 changed files with 20 additions and 15 deletions

View File

@@ -80,9 +80,8 @@ Kirigami.ApplicationWindow {
Loader {
active: Kirigami.Settings.hasPlatformMenuBar && !Kirigami.Settings.isMobile
sourceComponent: Qt.createComponent("org.kde.neochat", "GlobalMenu")
onActiveChanged: if (active) {
item.connection = root.connection;
sourceComponent: GlobalMenu {
connection: root.connection
}
}