Fix various qml warnings

This commit is contained in:
Tobias Fella
2026-01-19 11:44:27 +01:00
committed by Tobias Fella
parent 3f1ba8d067
commit 2bc8c6a379
12 changed files with 16 additions and 18 deletions

View File

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