summaryrefslogtreecommitdiff
authorkergoth <kergoth>2003-04-14 23:45:15 (UTC)
committer kergoth <kergoth>2003-04-14 23:45:15 (UTC)
commit437c9c5bc73b6feffe769430c66348347d98ba63 (patch) (unidiff)
tree695179c43edacf47690975b3216419d4eec133be
parent9de8e53272af12de09283fc796864557db7f29f4 (diff)
downloadopie-437c9c5bc73b6feffe769430c66348347d98ba63.zip
opie-437c9c5bc73b6feffe769430c66348347d98ba63.tar.gz
opie-437c9c5bc73b6feffe769430c66348347d98ba63.tar.bz2
Oops, remember to call QDialog::accept() in the accept() function :)
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/networksettings/wlan/wlanimp2.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/noncore/settings/networksettings/wlan/wlanimp2.cpp b/noncore/settings/networksettings/wlan/wlanimp2.cpp
index 01c9668..73afc92 100644
--- a/noncore/settings/networksettings/wlan/wlanimp2.cpp
+++ b/noncore/settings/networksettings/wlan/wlanimp2.cpp
@@ -250,17 +250,19 @@ void WLANImp::writeOpts() {
250 keyList += "[1]"; 250 keyList += "[1]";
251 } else if (keyRadio1->isChecked()) { 251 } else if (keyRadio1->isChecked()) {
252 keyList += "[2]"; 252 keyList += "[2]";
253 } else if (keyRadio2->isChecked()) { 253 } else if (keyRadio2->isChecked()) {
254 keyList += "[3]"; 254 keyList += "[3]";
255 } else if (keyRadio3->isChecked()) { 255 } else if (keyRadio3->isChecked()) {
256 keyList += "[4]"; 256 keyList += "[4]";
257 } 257 }
258 interfaces->setInterfaceOption(QString("wireless_key"), keyList.join(QString(" "))); 258 interfaces->setInterfaceOption(QString("wireless_key"), keyList.join(QString(" ")));
259 } else { 259 } else {
260 interfaces->removeInterfaceOption(QString("wireless_key")); 260 interfaces->removeInterfaceOption(QString("wireless_key"));
261 } 261 }
262 interfaces->removeInterfaceOption(QString("wireless_enc")); 262 interfaces->removeInterfaceOption(QString("wireless_enc"));
263 263
264 if(!interfaceSetup->saveChanges()) 264 if(!interfaceSetup->saveChanges())
265 return; 265 return;
266
267 QDialog::accept();
266} 268}