summaryrefslogtreecommitdiff
path: root/noncore/net/networksetup/wlan/wlanimp.cpp
authorkergoth <kergoth>2002-10-19 21:27:09 (UTC)
committer kergoth <kergoth>2002-10-19 21:27:09 (UTC)
commit174ae2b9de0d4d002c549976561e66668453e5a4 (patch) (side-by-side diff)
treebe53f0e8626ac8410b46a32ce70c0858df8dccdb /noncore/net/networksetup/wlan/wlanimp.cpp
parentd7449e1e0070a068c5e83366cb75b64142b71b89 (diff)
downloadopie-174ae2b9de0d4d002c549976561e66668453e5a4.zip
opie-174ae2b9de0d4d002c549976561e66668453e5a4.tar.gz
opie-174ae2b9de0d4d002c549976561e66668453e5a4.tar.bz2
geh, never code before coffee!
Diffstat (limited to 'noncore/net/networksetup/wlan/wlanimp.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/networksetup/wlan/wlanimp.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/noncore/net/networksetup/wlan/wlanimp.cpp b/noncore/net/networksetup/wlan/wlanimp.cpp
index 3b0e0b7..ea19207 100644
--- a/noncore/net/networksetup/wlan/wlanimp.cpp
+++ b/noncore/net/networksetup/wlan/wlanimp.cpp
@@ -12,24 +12,28 @@
#include <qmessagebox.h>
#include <qlineedit.h>
#include <qspinbox.h>
#include <qradiobutton.h>
#include <qcheckbox.h>
#include <qregexp.h>
WLANImp::WLANImp( QWidget* parent, const char* name):WLAN(parent, name){
config = new Config("wireless");
readConfig();
}
+WLANImp::~WLANImp( ){
+ delete config;
+}
+
void WLANImp::readConfig()
{
qWarning( "WLANImp::readConfig() called." );
config->setGroup( "Properties" );
QString ssid = config->readEntry( "SSID", "any" );
if( ssid == "any" || ssid == "ANY" ){
essNon->setChecked( true );
} else {
essSpecific->setChecked( true );
essSpecificLineEdit->setText( ssid );
}
QString mode = config->readEntry( "Mode", "Managed" );