summaryrefslogtreecommitdiff
authortille <tille>2003-06-16 17:07:09 (UTC)
committer tille <tille>2003-06-16 17:07:09 (UTC)
commit020c6d76b3faad399164ba196c51804221a259e1 (patch) (side-by-side diff)
tree7b9aef94a9ec3fad7a16201d56c4a4b32ac39a09
parent3508149e0c894e53bc31ee7b66d98a195cdb8d70 (diff)
downloadopie-020c6d76b3faad399164ba196c51804221a259e1.zip
opie-020c6d76b3faad399164ba196c51804221a259e1.tar.gz
opie-020c6d76b3faad399164ba196c51804221a259e1.tar.bz2
remove qFatal in case of unknow interface.
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/networksettings/wlan/wlanmodule.cpp4
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
@@ -143,13 +143,15 @@ void WLANModule::receive(const QCString &param, const QByteArray &arg)
qDebug("WLANModule found interface %s",interface.latin1());
ifa = i;
}
}
if (ifa == 0){
- qFatal("WLANModule Did not find %s",interface.latin1());
+ qDebug("WLANModule Did not find %s",interface.latin1());
+ qDebug("returning");
+ return;
}
if (count == 2){
// those should call the interface directly
QWidget *info = getInfo( ifa );
info->showMaximized();