Fix QR code not showing when tapping the button under account settings

(cherry picked from commit dc9a150929)
This commit is contained in:
Joshua Goins
2024-06-08 10:30:16 -04:00
parent 5c220f3c53
commit 696ce3af5e

View File

@@ -116,7 +116,7 @@ FormCard.FormCardPage {
FormCard.FormButtonDelegate {
text: i18nc("@action:button", "QR code for account")
onClicked: {
let qrMax = Qt.createComponent('org.kde.neochat', 'QrCodeMaximizeComponent.qml').createObject(QQC2.ApplicationWindow.overlay, {
let qrMax = Qt.createComponent('org.kde.neochat', 'QrCodeMaximizeComponent').createObject(QQC2.ApplicationWindow.overlay, {
text: "https://matrix.to/#/" + root.connection.localUser.id,
title: root.connection.localUser.displayName,
subtitle: root.connection.localUser.id,