author | kergoth <kergoth> | 2002-10-19 21:27:09 (UTC) |
---|---|---|
committer | kergoth <kergoth> | 2002-10-19 21:27:09 (UTC) |
commit | 174ae2b9de0d4d002c549976561e66668453e5a4 (patch) (side-by-side diff) | |
tree | be53f0e8626ac8410b46a32ce70c0858df8dccdb /noncore/settings | |
parent | d7449e1e0070a068c5e83366cb75b64142b71b89 (diff) | |
download | opie-174ae2b9de0d4d002c549976561e66668453e5a4.zip opie-174ae2b9de0d4d002c549976561e66668453e5a4.tar.gz opie-174ae2b9de0d4d002c549976561e66668453e5a4.tar.bz2 |
geh, never code before coffee!
-rw-r--r-- | noncore/settings/networksettings/wlan/wlanimp.cpp | 4 | ||||
-rw-r--r-- | noncore/settings/networksettings/wlan/wlanimp.h | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/noncore/settings/networksettings/wlan/wlanimp.cpp b/noncore/settings/networksettings/wlan/wlanimp.cpp index 3b0e0b7..ea19207 100644 --- a/noncore/settings/networksettings/wlan/wlanimp.cpp +++ b/noncore/settings/networksettings/wlan/wlanimp.cpp @@ -18,12 +18,16 @@ 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" ){ diff --git a/noncore/settings/networksettings/wlan/wlanimp.h b/noncore/settings/networksettings/wlan/wlanimp.h index 79e931d..22ce143 100644 --- a/noncore/settings/networksettings/wlan/wlanimp.h +++ b/noncore/settings/networksettings/wlan/wlanimp.h @@ -7,12 +7,13 @@ class WLANImp : public WLAN { Q_OBJECT public: WLANImp( QWidget* parent = 0, const char* name = 0); + ~WLANImp( ); protected: void accept(); void done ( int r ); private: |