From fcc5702d6c6b4d6ecba51451ea491bcc4799b88a Mon Sep 17 00:00:00 2001 From: kergoth Date: Tue, 15 Oct 2002 22:23:31 +0000 Subject: Ugly hack, not a solution, but should at least be usable --- diff --git a/noncore/net/networksetup/wlan/wlanmodule.cpp b/noncore/net/networksetup/wlan/wlanmodule.cpp index 70b1f7a..321fa11 100644 --- a/noncore/net/networksetup/wlan/wlanmodule.cpp +++ b/noncore/net/networksetup/wlan/wlanmodule.cpp @@ -24,7 +24,7 @@ QString WLANModule::getPixmapName(Interface* ){ * @return bool true if i is owned by this module, false otherwise. */ bool WLANModule::isOwner(Interface *i){ - if(i->getInterfaceName() == "eth0") + if(i->getInterfaceName() == "eth0" || i->getInterfaceName() == "wlan0") return true; return false; } diff --git a/noncore/settings/networksettings/wlan/wlanmodule.cpp b/noncore/settings/networksettings/wlan/wlanmodule.cpp index 70b1f7a..321fa11 100644 --- a/noncore/settings/networksettings/wlan/wlanmodule.cpp +++ b/noncore/settings/networksettings/wlan/wlanmodule.cpp @@ -24,7 +24,7 @@ QString WLANModule::getPixmapName(Interface* ){ * @return bool true if i is owned by this module, false otherwise. */ bool WLANModule::isOwner(Interface *i){ - if(i->getInterfaceName() == "eth0") + if(i->getInterfaceName() == "eth0" || i->getInterfaceName() == "wlan0") return true; return false; } -- cgit v0.9.0.2