From 879da627b149c43c36db0691ecbfb8324fb99c9c Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Sat, 6 Apr 2024 15:39:36 -0400 Subject: [PATCH] Fix the share dialog not showing up Seems to be a leftover from the refactor to use modules. --- src/qml/main.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qml/main.qml b/src/qml/main.qml index e9c00ba4e..e5f50672b 100644 --- a/src/qml/main.qml +++ b/src/qml/main.qml @@ -413,7 +413,7 @@ Kirigami.ApplicationWindow { } } function handleShare(): void { - const dialog = applicationWindow().pageStack.pushDialogLayer("qrc:/org/kde/neochat/qml/ChooseRoomDialog.qml", { + const dialog = applicationWindow().pageStack.pushDialogLayer(Qt.createComponent('org.kde.neochat', 'ChooseRoomDialog.qml'), { connection: root.connection }, { title: i18nc("@title", "Share"),