-rw-r--r-- | noncore/applets/networkapplet/networkapplet.cpp | 2 |
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 | |||
@@ -146,25 +146,25 @@ NetworkAppletControl::~NetworkAppletControl() | |||
146 | } | 146 | } |
147 | 147 | ||
148 | 148 | ||
149 | QString NetworkAppletControl::guessDevice( ONetworkInterface* iface ) | 149 | QString 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 | ||
167 | void NetworkAppletControl::showEvent( QShowEvent* e ) | 167 | void NetworkAppletControl::showEvent( QShowEvent* e ) |
168 | { | 168 | { |
169 | qDebug( "showEvent" ); | 169 | qDebug( "showEvent" ); |
170 | build(); | 170 | build(); |