author | benmeyer <benmeyer> | 2002-12-11 22:15:16 (UTC) |
---|---|---|
committer | benmeyer <benmeyer> | 2002-12-11 22:15:16 (UTC) |
commit | 2217f9ba852aa2ffd36e5398988d9b1c65b18705 (patch) (side-by-side diff) | |
tree | 071d5881f45f012720cd212028bd1a6a9455fd9c /noncore/net/networksetup/wlan/wlanimp.cpp | |
parent | 6523ee46d49203d11f34a3dbbf966a318cef7def (diff) | |
download | opie-2217f9ba852aa2ffd36e5398988d9b1c65b18705.zip opie-2217f9ba852aa2ffd36e5398988d9b1c65b18705.tar.gz opie-2217f9ba852aa2ffd36e5398988d9b1c65b18705.tar.bz2 |
Key accell
Diffstat (limited to 'noncore/net/networksetup/wlan/wlanimp.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/networksetup/wlan/wlanimp.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/noncore/net/networksetup/wlan/wlanimp.cpp b/noncore/net/networksetup/wlan/wlanimp.cpp index ef7329e..120d4e5 100644 --- a/noncore/net/networksetup/wlan/wlanimp.cpp +++ b/noncore/net/networksetup/wlan/wlanimp.cpp @@ -203,42 +203,41 @@ void WLANImp::changeAndSaveSettingFile(){ * Check to see if the current config is valid * Save wireless.opts, save interfaces */ void WLANImp::accept(){ if(wepEnabled->isChecked()){ if(keyLineEdit0->text().isEmpty() && keyLineEdit1->text().isEmpty() && keyLineEdit2->text().isEmpty() && keyLineEdit3->text().isEmpty() ) { QMessageBox::information(this, "Error", "Please enter a key for WEP.", QMessageBox::Ok); return; } } if(essSpecificLineEdit->text().isEmpty()){ QMessageBox::information(this, "Error", "Please enter a ESS-ID.", QMessageBox::Ok); return; } // Ok settings are good here, save changeAndSaveSettingFile(); // Try to save the interfaces settings. if(!interfaceSetup->saveChanges()) return; - return; // Restart the device now that the settings have changed QString initpath; if( QDir("/etc/rc.d/init.d").exists() ) initpath = "/etc/rc.d/init.d"; else if( QDir("/etc/init.d").exists() ) initpath = "/etc/init.d"; if( initpath ) system(QString("%1/pcmcia stop").arg(initpath)); if( initpath ) system(QString("%1/pcmcia start").arg(initpath)); // Close out the dialog QDialog::accept(); } // wlanimp.cpp |