Merge pull request #525

9c0002a fix undefined buildwithscanner (Jaquee)
This commit is contained in:
Riccardo Spagni
2017-03-03 16:28:49 +02:00

View File

@@ -65,7 +65,7 @@ ApplicationWindow {
property bool viewOnly: false
property bool foundNewBlock: false
property int timeToUnlock: 0
property bool qrScannerEnabled: builtWithScanner && (QtMultimedia.availableCameras.length > 0)
property bool qrScannerEnabled: (typeof builtWithScanner != "undefined") && builtWithScanner && (QtMultimedia.availableCameras.length > 0)
property int blocksToSync: 1
property var isMobile: (appWindow.width > 700) ? false : true