Refactor qml
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user