summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings/wlan/wlanmodule.cpp
Side-by-side diff
Diffstat (limited to 'noncore/settings/networksettings/wlan/wlanmodule.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/networksettings/wlan/wlanmodule.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/noncore/settings/networksettings/wlan/wlanmodule.cpp b/noncore/settings/networksettings/wlan/wlanmodule.cpp
index f12e608..cbb520d 100644
--- a/noncore/settings/networksettings/wlan/wlanmodule.cpp
+++ b/noncore/settings/networksettings/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;
}