summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings/mainwindowimp.cpp
authortille <tille>2003-06-03 14:13:19 (UTC)
committer tille <tille>2003-06-03 14:13:19 (UTC)
commitf80c2829f8660402df7a6d5667d6022f366cd44b (patch) (side-by-side diff)
treef211e10a847f454e2607700337b8d5d64a867afc /noncore/settings/networksettings/mainwindowimp.cpp
parent60d9f66d2b31c659ac652c15423ecaca89a5f312 (diff)
downloadopie-f80c2829f8660402df7a6d5667d6022f366cd44b.zip
opie-f80c2829f8660402df7a6d5667d6022f366cd44b.tar.gz
opie-f80c2829f8660402df7a6d5667d6022f366cd44b.tar.bz2
changed maintainer to tille
Diffstat (limited to 'noncore/settings/networksettings/mainwindowimp.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/networksettings/mainwindowimp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/settings/networksettings/mainwindowimp.cpp b/noncore/settings/networksettings/mainwindowimp.cpp
index a0b3113..4119490 100644
--- a/noncore/settings/networksettings/mainwindowimp.cpp
+++ b/noncore/settings/networksettings/mainwindowimp.cpp
@@ -486,25 +486,25 @@ void MainWindowImp::updateInterface(Interface *i){
}
else
item = items[i];
// Update the icons and information
#ifdef QWS
item->setPixmap(0, (Resource::loadPixmap(i->getStatus() ? "up": "down")));
#else
item->setPixmap(0, (SmallIcon(i->getStatus() ? "up": "down")));
#endif
QString typeName = "lan";
- if(i->getHardwareName().contains("Local Loopback"))
+ if(i->getInterfaceName() == "lo")
typeName = "lo";
if(i->getInterfaceName().contains("irda"))
typeName = "irda";
if(i->getInterfaceName().contains("wlan"))
typeName = "wlan";
if(i->getInterfaceName().contains("usb"))
typeName = "usb";
if(!i->isAttached())
typeName = "connect_no";
// Actually try to use the Module
if(i->getModuleOwner() != NULL)