From 5ec0b9393ef35b280d17434a0a60ecf2d314c7b8 Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Sun, 1 Jun 2025 04:51:18 +0200 Subject: [PATCH] Fix showPassiveNotification call in Account Editor I hate this thing, I think the standalone account editor was fine, but it didn't work when I went through account settings. Now that should be fixed. --- src/settings/AccountEditorPage.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/settings/AccountEditorPage.qml b/src/settings/AccountEditorPage.qml index 8cf0322a9..4383b6e07 100644 --- a/src/settings/AccountEditorPage.qml +++ b/src/settings/AccountEditorPage.qml @@ -138,7 +138,7 @@ FormCard.FormCardPage { icon.name: "document-save-symbolic" onClicked: { if (!root.connection.setAvatar(avatar.source)) { - showPassiveNotification("The Avatar could not be set"); + (root.Window.window as Kirigami.ApplicationWindow).showPassiveNotification("The Avatar could not be set"); } if (root.connection.localUser.displayName !== name.text) { root.connection.localUser.rename(name.text);