From 2321299084e2f6dfb9b2b671f5e509dd539fccca Mon Sep 17 00:00:00 2001 From: Carl Schwan Date: Wed, 10 Jul 2024 22:27:09 +0200 Subject: [PATCH] Pass ApplicationWindow to AccountMenu --- src/qml/UserInfo.qml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/qml/UserInfo.qml b/src/qml/UserInfo.qml index 74908c003..c6f152f6c 100644 --- a/src/qml/UserInfo.qml +++ b/src/qml/UserInfo.qml @@ -54,7 +54,7 @@ RowLayout { TapHandler { acceptedButtons: Qt.RightButton - onTapped: accountMenu.open() + onTapped: accountMenu.open() } } @@ -151,6 +151,7 @@ RowLayout { id: accountMenu y: root.bottomEdge ? -height : accountButton.height connection: root.connection + window: accountButton.QQC2.ApplicationWindow.window as Kirigami.ApplicationWindow } Component { id: accountSwitchDialog