comparison 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
comparison
equal deleted inserted replaced
680:1e993a922d79 681:d35e10576091
72 QObject::connect(bb, SIGNAL(accepted()), &d, SLOT(accept())); 72 QObject::connect(bb, SIGNAL(accepted()), &d, SLOT(accept()));
73 layout->addWidget(bb, 2, 0); 73 layout->addWidget(bb, 2, 0);
74 74
75 d.exec(); 75 d.exec();
76 76
77 bool permish = cb->isChecked(); 77 permish = cb->isChecked();
78 settings.setValue(tag, permish); 78 settings.setValue(tag, permish);
79 } 79 }
80 80
81 settings.endGroup(); 81 settings.endGroup();
82 82