Refactor qml

This commit is contained in:
Tobias Fella
2025-08-08 13:55:12 +02:00
parent 6698bbcf79
commit a74931e794

View File

@@ -125,9 +125,9 @@ Kirigami.ApplicationWindow {
}
function onExternalUrl(url) {
let dialog = Qt.createComponent("org.kde.neochat", "ConfirmUrlDialog").createObject(this);
dialog.link = url;
dialog.open();
(Qt.createComponent("org.kde.neochat", "ConfirmUrlDialog").createObject(this, {
link: url
}) as ConfirmUrlDialog).open();
}
}