Mercurial > hg > tony
comparison main/NetworkPermissionTester.cpp @ 595:525076f84504
Fix local variable aliasing which prevented network requests happening on the first run even when permitted
author | Chris Cannam |
---|---|
date | Thu, 19 Sep 2019 10:25:46 +0100 |
parents | 684a917e2d96 |
children |
comparison
equal
deleted
inserted
replaced
594:b76234d1a217 | 595:525076f84504 |
---|---|
73 QObject::connect(bb, SIGNAL(accepted()), &d, SLOT(accept())); | 73 QObject::connect(bb, SIGNAL(accepted()), &d, SLOT(accept())); |
74 layout->addWidget(bb, 2, 0); | 74 layout->addWidget(bb, 2, 0); |
75 | 75 |
76 d.exec(); | 76 d.exec(); |
77 | 77 |
78 bool permish = cb->isChecked(); | 78 permish = cb->isChecked(); |
79 settings.setValue(tag, permish); | 79 settings.setValue(tag, permish); |
80 } | 80 } |
81 | 81 |
82 settings.endGroup(); | 82 settings.endGroup(); |
83 | 83 |