summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/settings/networksettings/mainwindowimp.cpp7
-rw-r--r--noncore/settings/networksettings/wlan/wlanmodule.cpp8
2 files changed, 6 insertions, 9 deletions
diff --git a/noncore/settings/networksettings/mainwindowimp.cpp b/noncore/settings/networksettings/mainwindowimp.cpp
index 5029525..544498f 100644
--- a/noncore/settings/networksettings/mainwindowimp.cpp
+++ b/noncore/settings/networksettings/mainwindowimp.cpp
@@ -646,11 +646,4 @@ void MainWindowImp::receive(const QCString &msg, const QByteArray &arg)
646 qDebug("dest >%s< param >"+param+"<",dest.latin1()); 646 qDebug("dest >%s< param >"+param+"<",dest.latin1());
647 647
648// if (param.contains("QString,QString,QString")) {
649// QDataStream stream(arg,IO_ReadOnly);
650// QString arg1, arg2, arg3;
651// stream >> arg1 >> arg2 >> arg3 ;
652// qDebug("args: >%s< >%s< >%s<",arg1.latin1(),arg2.latin1(),arg3.latin1());
653// }
654
655 QMap<Module*, QLibrary*>::Iterator it; 648 QMap<Module*, QLibrary*>::Iterator it;
656 for( it = libraries.begin(); it != libraries.end(); ++it ){ 649 for( it = libraries.begin(); it != libraries.end(); ++it ){
diff --git a/noncore/settings/networksettings/wlan/wlanmodule.cpp b/noncore/settings/networksettings/wlan/wlanmodule.cpp
index bc467bb..e34f0ce 100644
--- a/noncore/settings/networksettings/wlan/wlanmodule.cpp
+++ b/noncore/settings/networksettings/wlan/wlanmodule.cpp
@@ -8,4 +8,5 @@
8#include <qcombobox.h> 8#include <qcombobox.h>
9#include <qlabel.h> 9#include <qlabel.h>
10#include <qlineedit.h>
10#include <qprogressbar.h> 11#include <qprogressbar.h>
11#include <qspinbox.h> 12#include <qspinbox.h>
@@ -132,5 +133,5 @@ void WLANModule::receive(const QCString &param, const QByteArray &arg)
132 QString interface; 133 QString interface;
133 QString action; 134 QString action;
134 135 while (! stream.atEnd() ){
135 stream >> interface; 136 stream >> interface;
136 stream >> action; 137 stream >> action;
@@ -191,8 +192,11 @@ void WLANModule::receive(const QCString &param, const QByteArray &arg)
191 wlanconfigWiget->specifyChan->setChecked( true ); 192 wlanconfigWiget->specifyChan->setChecked( true );
192 wlanconfigWiget->networkChannel->setValue( value.toInt() ); 193 wlanconfigWiget->networkChannel->setValue( value.toInt() );
194 }else if (action.contains("MacAddr")){
195 wlanconfigWiget->specifyAp->setChecked( true );
196 wlanconfigWiget->macEdit->setText( value );
193 }else 197 }else
194 qDebug("wlan plugin has no clue"); 198 qDebug("wlan plugin has no clue");
195 } 199 }
196 200 }// while stream
197} 201}
198 202