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) { function onExternalUrl(url) {
let dialog = Qt.createComponent("org.kde.neochat", "ConfirmUrlDialog").createObject(this); (Qt.createComponent("org.kde.neochat", "ConfirmUrlDialog").createObject(this, {
dialog.link = url; link: url
dialog.open(); }) as ConfirmUrlDialog).open();
} }
} }