changeset 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 1e993a922d79
children 242ebf1db0f1
files .hgsubstate main/NetworkPermissionTester.cpp
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/.hgsubstate	Thu Dec 05 20:24:40 2013 +0000
+++ b/.hgsubstate	Wed Dec 11 17:41:06 2013 +0000
@@ -1,5 +1,5 @@
 236814e07bd07473958c1ff89103124536a0c3c8 dataquay
 3c5adc4a864fa75e5b1e67c260b77541aaa4f1f6 sv-dependency-builds
 47964f188bd9cb2a75ad5c3783a86db76950a392 svapp
-c2a399f9384327b2e20c8660c35002b2a73c1e66 svcore
+f276f707120a304d0916975b1097493dc82cf20c svcore
 b81f21f2c4c3d1cb115e278a098ac4869fb7377f svgui
--- 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);
     }