Fix some dialog parenting

This commit is contained in:
Tobias Fella
2024-04-25 22:46:03 +02:00
parent 26064ebf8c
commit f0e3d3e474

View File

@@ -125,7 +125,7 @@ Kirigami.ApplicationWindow {
} }
function onAskDirectChatConfirmation(user) { function onAskDirectChatConfirmation(user) {
askDirectChatConfirmationComponent.createObject(QQC2.ApplicationWindow.overlay, { askDirectChatConfirmationComponent.createObject(this, {
user: user user: user
}).open(); }).open();
} }
@@ -309,7 +309,7 @@ Kirigami.ApplicationWindow {
}); });
} }
function onUserConsentRequired(url) { function onUserConsentRequired(url) {
let consent = consentSheetComponent.createObject(QQC2.ApplicationWindow.overlay); let consent = consentSheetComponent.createObject(this);
consent.url = url; consent.url = url;
consent.open(); consent.open();
} }