1
mirror of https://github.com/monero-project/monero-gui synced 2024-12-29 23:26:24 +01:00

fix undefined buildwithscanner

This commit is contained in:
Jaquee 2017-03-03 09:36:21 +01:00
parent e826f7c1ec
commit 9c0002ad9a
No known key found for this signature in database
GPG Key ID: 384E52B09F45DC39

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
// true if wallet ever synchronized