1
0

qml: allow separate data for clipboard/share and QR code in GenericShareDialog

This commit is contained in:
Sander van Grieken
2022-08-23 20:21:18 +02:00
parent 65b3c1abb3
commit 1e375ae9e1
3 changed files with 13 additions and 7 deletions

View File

@@ -9,6 +9,8 @@ ElDialog {
id: dialog
property string text
property string text_qr
// if text_qr is undefined text will be used
title: ''
parent: Overlay.overlay
@@ -97,6 +99,6 @@ ElDialog {
}
Component.onCompleted: {
qr.qrdata = dialog.text
qr.qrdata = dialog.text_qr ? dialog.text_qr : dialog.text
}
}