From bb135a644e61cbc30116b96ff8fb24dfb7576a21 Mon Sep 17 00:00:00 2001 From: benmeyer Date: Mon, 21 Oct 2002 15:59:21 +0000 Subject: Some deletion coverage --- (limited to 'noncore/settings/networksettings/wlan/wlanmodule.cpp') diff --git a/noncore/settings/networksettings/wlan/wlanmodule.cpp b/noncore/settings/networksettings/wlan/wlanmodule.cpp index cbb520d..24cb1cd 100644 --- a/noncore/settings/networksettings/wlan/wlanmodule.cpp +++ b/noncore/settings/networksettings/wlan/wlanmodule.cpp @@ -1,9 +1,7 @@ #include "wlanmodule.h" -#include #include "wlanimp.h" #include "info.h" - #include #include #include @@ -63,7 +61,7 @@ bool WLANModule::isOwner(Interface *i){ * @return QWidget* pointer to the tab widget in this modules configure. */ QWidget *WLANModule::configure(Interface *i, QTabWidget **tabWidget){ - WLANImp *wlanconfig = new WLANImp( ); + WLANImp *wlanconfig = new WLANImp(0, "WlanConfig"); (*tabWidget) = wlanconfig->tabWidget; return wlanconfig; } @@ -74,6 +72,7 @@ QWidget *WLANModule::configure(Interface *i, QTabWidget **tabWidget){ * @return QWidget* pointer to the tab widget in this modules info. */ QWidget *WLANModule::information(Interface *i, QTabWidget **tabWidget){ + return NULL; WlanInfo *info = new WlanInfo(0, "wireless info"); (*tabWidget) = info->tabWidget; -- cgit v0.9.0.2