From d7449e1e0070a068c5e83366cb75b64142b71b89 Mon Sep 17 00:00:00 2001 From: kergoth Date: Sat, 19 Oct 2002 20:58:09 +0000 Subject: Cleaned up Config handling a bit. --- (limited to 'noncore/net/networksetup/wlan/wlanmodule.cpp') diff --git a/noncore/net/networksetup/wlan/wlanmodule.cpp b/noncore/net/networksetup/wlan/wlanmodule.cpp index f12e608..cbb520d 100644 --- a/noncore/net/networksetup/wlan/wlanmodule.cpp +++ b/noncore/net/networksetup/wlan/wlanmodule.cpp @@ -63,8 +63,7 @@ bool WLANModule::isOwner(Interface *i){ * @return QWidget* pointer to the tab widget in this modules configure. */ QWidget *WLANModule::configure(Interface *i, QTabWidget **tabWidget){ - Config *cfg = new Config("wireless config"); - WLANImp *wlanconfig = new WLANImp(*cfg); + WLANImp *wlanconfig = new WLANImp( ); (*tabWidget) = wlanconfig->tabWidget; return wlanconfig; } -- cgit v0.9.0.2