summaryrefslogtreecommitdiff
authormickeyl <mickeyl>2003-04-21 18:13:28 (UTC)
committer mickeyl <mickeyl>2003-04-21 18:13:28 (UTC)
commite951446d52d2a89dd919b1665b034516567384ee (patch) (unidiff)
treefba427301e9872ed1b77dea8ddbef8b0eb634d3d
parente3d9c4f3e6a45128128cc22218c4fc30bbb41f3d (diff)
downloadopie-e951446d52d2a89dd919b1665b034516567384ee.zip
opie-e951446d52d2a89dd919b1665b034516567384ee.tar.gz
opie-e951446d52d2a89dd919b1665b034516567384ee.tar.bz2
fix irda image name
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/applets/networkapplet/networkapplet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/applets/networkapplet/networkapplet.cpp b/noncore/applets/networkapplet/networkapplet.cpp
index 3019456..4e658da 100644
--- a/noncore/applets/networkapplet/networkapplet.cpp
+++ b/noncore/applets/networkapplet/networkapplet.cpp
@@ -142,33 +142,33 @@ void NetworkAppletControl::build()
142 142
143 143
144NetworkAppletControl::~NetworkAppletControl() 144NetworkAppletControl::~NetworkAppletControl()
145{ 145{
146} 146}
147 147
148 148
149QString NetworkAppletControl::guessDevice( ONetworkInterface* iface ) 149QString NetworkAppletControl::guessDevice( ONetworkInterface* iface )
150{ 150{
151 if ( iface->isWireless() ) 151 if ( iface->isWireless() )
152 return "networksettings/wlan"; 152 return "networksettings/wlan";
153 if ( iface->isLoopback() ) 153 if ( iface->isLoopback() )
154 return "networksettings/lo"; 154 return "networksettings/lo";
155 if ( QString( iface->name() ).contains( "usb" ) ) 155 if ( QString( iface->name() ).contains( "usb" ) )
156 return "networksettings/usb"; 156 return "networksettings/usb";
157 if ( QString( iface->name() ).contains( "ir" ) ) 157 if ( QString( iface->name() ).contains( "ir" ) )
158 return "networksettings/ir"; 158 return "networksettings/irda";
159 159
160 //TODO: Insert neat symbol and check for tunnel devices 160 //TODO: Insert neat symbol and check for tunnel devices
161 161
162 return "networksettings/lan"; 162 return "networksettings/lan";
163 163
164} 164}
165 165
166 166
167void NetworkAppletControl::showEvent( QShowEvent* e ) 167void NetworkAppletControl::showEvent( QShowEvent* e )
168{ 168{
169 qDebug( "showEvent" ); 169 qDebug( "showEvent" );
170 build(); 170 build();
171 QWidget::showEvent( e ); 171 QWidget::showEvent( e );
172} 172}
173 173
174 174