-rw-r--r-- | noncore/applets/wirelessapplet/wireless.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/applets/wirelessapplet/wireless.cpp b/noncore/applets/wirelessapplet/wireless.cpp index fb9522a..763aab8 100644 --- a/noncore/applets/wirelessapplet/wireless.cpp +++ b/noncore/applets/wirelessapplet/wireless.cpp | |||
@@ -202,33 +202,33 @@ void WirelessControl::writeConfigEntry( const char *entry, int val ) | |||
202 | { | 202 | { |
203 | Config cfg( "qpe" ); | 203 | Config cfg( "qpe" ); |
204 | cfg.setGroup( "Wireless" ); | 204 | cfg.setGroup( "Wireless" ); |
205 | cfg.writeEntry( entry, val ); | 205 | cfg.writeEntry( entry, val ); |
206 | } | 206 | } |
207 | 207 | ||
208 | //=========================================================================== | 208 | //=========================================================================== |
209 | 209 | ||
210 | WirelessApplet::WirelessApplet( QWidget *parent, const char *name ) | 210 | WirelessApplet::WirelessApplet( QWidget *parent, const char *name ) |
211 | : QWidget( parent, name ), visualStyle( STYLE_ANTENNA ), | 211 | : QWidget( parent, name ), visualStyle( STYLE_ANTENNA ), |
212 | timer( 0 ), interface( 0 ), | 212 | timer( 0 ), interface( 0 ), |
213 | rocESSID( false ), rocFREQ( false ), rocAP( false ), rocMODE( false ) | 213 | rocESSID( false ), rocFREQ( false ), rocAP( false ), rocMODE( false ) |
214 | { | 214 | { |
215 | setFixedHeight( 18 ); | 215 | setFixedHeight( 18 ); |
216 | setFixedWidth( 14 ); | 216 | setFixedWidth( 14 ); |
217 | network = new MWirelessNetwork(); | 217 | network = new MWirelessNetwork(); |
218 | status = new WirelessControl( this, 0, "wireless status" ); | 218 | status = new WirelessControl( this, this, "wireless status" ); |
219 | } | 219 | } |
220 | 220 | ||
221 | void WirelessApplet::checkInterface() | 221 | void WirelessApplet::checkInterface() |
222 | { | 222 | { |
223 | interface = network->getFirstInterface(); | 223 | interface = network->getFirstInterface(); |
224 | if ( interface ) | 224 | if ( interface ) |
225 | { | 225 | { |
226 | #ifdef MDEBUG | 226 | #ifdef MDEBUG |
227 | qDebug( "WIFIAPPLET: using interface '%s'", (const char*) interface->getName() ); | 227 | qDebug( "WIFIAPPLET: using interface '%s'", (const char*) interface->getName() ); |
228 | #endif | 228 | #endif |
229 | } | 229 | } |
230 | else | 230 | else |
231 | { | 231 | { |
232 | #ifdef MDEBUG | 232 | #ifdef MDEBUG |
233 | qDebug( "WIFIAPPLET: D'oh! No Wireless interface present... :(" ); | 233 | qDebug( "WIFIAPPLET: D'oh! No Wireless interface present... :(" ); |
234 | #endif | 234 | #endif |