author | kergoth <kergoth> | 2003-04-14 23:45:15 (UTC) |
---|---|---|
committer | kergoth <kergoth> | 2003-04-14 23:45:15 (UTC) |
commit | 437c9c5bc73b6feffe769430c66348347d98ba63 (patch) (side-by-side diff) | |
tree | 695179c43edacf47690975b3216419d4eec133be | |
parent | 9de8e53272af12de09283fc796864557db7f29f4 (diff) | |
download | opie-437c9c5bc73b6feffe769430c66348347d98ba63.zip opie-437c9c5bc73b6feffe769430c66348347d98ba63.tar.gz opie-437c9c5bc73b6feffe769430c66348347d98ba63.tar.bz2 |
Oops, remember to call QDialog::accept() in the accept() function :)
-rw-r--r-- | noncore/settings/networksettings/wlan/wlanimp2.cpp | 2 |
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 @@ -242,25 +242,27 @@ void WLANImp::writeOpts() { if (acceptNonEnc->isChecked()) { keyList += "open"; } else { keyList += "restricted"; } keyList += "key"; if (keyRadio0->isChecked()) { keyList += "[1]"; } else if (keyRadio1->isChecked()) { keyList += "[2]"; } else if (keyRadio2->isChecked()) { keyList += "[3]"; } else if (keyRadio3->isChecked()) { keyList += "[4]"; } interfaces->setInterfaceOption(QString("wireless_key"), keyList.join(QString(" "))); } else { interfaces->removeInterfaceOption(QString("wireless_key")); } interfaces->removeInterfaceOption(QString("wireless_enc")); if(!interfaceSetup->saveChanges()) return; + + QDialog::accept(); } |