summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings/wlan/wlanmodule.cpp
authorbenmeyer <benmeyer>2002-10-24 20:20:12 (UTC)
committer benmeyer <benmeyer>2002-10-24 20:20:12 (UTC)
commit57c34f2f0b35ab13e7618ba77480c9b28b83885a (patch) (unidiff)
tree406fc6016ccea8d9d77a3b251361d11828e7afbc /noncore/settings/networksettings/wlan/wlanmodule.cpp
parent013b5a78262099a55de8e7228436f2c00660e6b1 (diff)
downloadopie-57c34f2f0b35ab13e7618ba77480c9b28b83885a.zip
opie-57c34f2f0b35ab13e7618ba77480c9b28b83885a.tar.gz
opie-57c34f2f0b35ab13e7618ba77480c9b28b83885a.tar.bz2
Fix segfault
Diffstat (limited to 'noncore/settings/networksettings/wlan/wlanmodule.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/networksettings/wlan/wlanmodule.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/noncore/settings/networksettings/wlan/wlanmodule.cpp b/noncore/settings/networksettings/wlan/wlanmodule.cpp
index 7507c54..3363b8a 100644
--- a/noncore/settings/networksettings/wlan/wlanmodule.cpp
+++ b/noncore/settings/networksettings/wlan/wlanmodule.cpp
@@ -17,2 +17,3 @@ WLANModule::WLANModule() : Module() {
17WLANModule::~WLANModule(){ 17WLANModule::~WLANModule(){
18 qDebug("Deleting module");
18 Interface *i; 19 Interface *i;
@@ -59,3 +60,3 @@ bool WLANModule::isOwner(Interface *i){
59QWidget *WLANModule::configure(Interface *, QTabWidget **tabWidget){ 60QWidget *WLANModule::configure(Interface *, QTabWidget **tabWidget){
60 WLANImp *wlanconfig = new WLANImp(0, "WlanConfig"); 61 WLANImp *wlanconfig = new WLANImp(0, "WlanConfig", false, Qt::WDestructiveClose);
61 (*tabWidget) = wlanconfig->tabWidget; 62 (*tabWidget) = wlanconfig->tabWidget;
@@ -90,6 +91,2 @@ QWidget *WLANModule::information(Interface *i, QTabWidget **tabWidget){
90 info->rateLabel->setText(QString("%1 Mb/s").arg(we.rate())); 91 info->rateLabel->setText(QString("%1 Mb/s").arg(we.rate()));
91 //WlanInfo info (0, "wireless info", true);
92 //info.show();
93 //return NULL;
94
95 return info; 92 return info;