-rw-r--r-- | noncore/settings/networksettings/wlan/wlanmodule.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/noncore/settings/networksettings/wlan/wlanmodule.cpp b/noncore/settings/networksettings/wlan/wlanmodule.cpp index e34f0ce..371b689 100644 --- a/noncore/settings/networksettings/wlan/wlanmodule.cpp +++ b/noncore/settings/networksettings/wlan/wlanmodule.cpp | |||
@@ -141,17 +141,19 @@ void WLANModule::receive(const QCString ¶m, const QByteArray &arg) | |||
141 | for ( Interface *i=list.first(); i != 0; i=list.next() ){ | 141 | for ( Interface *i=list.first(); i != 0; i=list.next() ){ |
142 | if (i->getInterfaceName() == interface){ | 142 | if (i->getInterfaceName() == interface){ |
143 | qDebug("WLANModule found interface %s",interface.latin1()); | 143 | qDebug("WLANModule found interface %s",interface.latin1()); |
144 | ifa = i; | 144 | ifa = i; |
145 | } | 145 | } |
146 | } | 146 | } |
147 | 147 | ||
148 | if (ifa == 0){ | 148 | if (ifa == 0){ |
149 | qFatal("WLANModule Did not find %s",interface.latin1()); | 149 | qDebug("WLANModule Did not find %s",interface.latin1()); |
150 | qDebug("returning"); | ||
151 | return; | ||
150 | } | 152 | } |
151 | 153 | ||
152 | if (count == 2){ | 154 | if (count == 2){ |
153 | // those should call the interface directly | 155 | // those should call the interface directly |
154 | QWidget *info = getInfo( ifa ); | 156 | QWidget *info = getInfo( ifa ); |
155 | info->showMaximized(); | 157 | info->showMaximized(); |
156 | 158 | ||
157 | if ( action.contains("start" ) ){ | 159 | if ( action.contains("start" ) ){ |