Fix some qml type warnings
This commit is contained in:
@@ -295,9 +295,9 @@ Kirigami.ApplicationWindow {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
function onUserConsentRequired(url) {
|
function onUserConsentRequired(url) {
|
||||||
Qt.createComponent("org.kde.neochat", "ConsentDialog").createObject(this, {
|
(Qt.createComponent("org.kde.neochat", "ConsentDialog").createObject(this, {
|
||||||
url: url
|
url: url
|
||||||
}).open();
|
}) as ConsentDialog).open();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -345,7 +345,7 @@ Kirigami.ApplicationWindow {
|
|||||||
room: room,
|
room: room,
|
||||||
user: user,
|
user: user,
|
||||||
connection: root.connection,
|
connection: root.connection,
|
||||||
});
|
}) as UserDetailDialog;
|
||||||
dialog.parent = QmlUtils.focusedWindowItem(); // Kirigami Dialogs overwrite the parent, so we need to set it again
|
dialog.parent = QmlUtils.focusedWindowItem(); // Kirigami Dialogs overwrite the parent, so we need to set it again
|
||||||
dialog.open();
|
dialog.open();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user