Let kconfigxt do QML registration

This commit is contained in:
Nicolas Fella
2024-05-28 23:57:08 +02:00
parent d2a79214b5
commit 92029b20f6
34 changed files with 219 additions and 232 deletions

View File

@@ -83,7 +83,7 @@ Loader {
* Some common actions shared between menus
*/
component ViewSourceAction: Kirigami.Action {
visible: Config.developerTools
visible: NeoChatConfig.developerTools
text: i18n("View Source")
icon.name: "code-context"
onTriggered: RoomManager.viewEventSource(root.eventId)