Only ask for URL opening confirmation for QR codes

BUG: 484870
This commit is contained in:
Tobias Fella
2024-04-01 16:42:07 +02:00
parent 6cfab9e3ea
commit bb776d5c2b
2 changed files with 8 additions and 2 deletions

View File

@@ -38,7 +38,7 @@ Kirigami.Page {
formats: Prison.Format.QRCode | Prison.Format.Aztec
onResultChanged: {
if (result.text.length > 0 && result.text != scanner.previousText) {
RoomManager.resolveResource(result.text, "");
RoomManager.resolveResource(result.text, "qr");
scanner.previousText = result.text;
}
root.closeDialog();