diff main/NetworkPermissionTester.cpp @ 681:d35e10576091

Fix local variable aliasing which prevented network requests happening on the first run even when permitted
author Chris Cannam
date Wed, 11 Dec 2013 17:41:06 +0000
parents 7e0d135e6758
children 60d3575f8016 7f7fba33b7de
line wrap: on
line diff
--- a/main/NetworkPermissionTester.cpp	Thu Dec 05 20:24:40 2013 +0000
+++ b/main/NetworkPermissionTester.cpp	Wed Dec 11 17:41:06 2013 +0000
@@ -74,7 +74,7 @@
 	
 	d.exec();
 
-	bool permish = cb->isChecked();
+        permish = cb->isChecked();
 	settings.setValue(tag, permish);
     }