author | sandman <sandman> | 2002-10-31 02:12:34 (UTC) |
---|---|---|
committer | sandman <sandman> | 2002-10-31 02:12:34 (UTC) |
commit | 035eaf63bb2156ea7facd6b50f8891503d1f7bed (patch) (unidiff) | |
tree | cbb390a9a67952ea501eaa376ae72b425ae16f6b | |
parent | ddd5f680b3dbd5e169d43f5216fbf24b04e4cb33 (diff) | |
download | opie-035eaf63bb2156ea7facd6b50f8891503d1f7bed.zip opie-035eaf63bb2156ea7facd6b50f8891503d1f7bed.tar.gz opie-035eaf63bb2156ea7facd6b50f8891503d1f7bed.tar.bz2 |
Applied the same fix as in volume applet (parent widget should not be 0 for
taskbar applets) even though wireless applet seems not to be causing any
troubles. But IMHO it's better to apply it now ...
-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 | |||
@@ -210,17 +210,17 @@ void WirelessControl::writeConfigEntry( const char *entry, int val ) | |||
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 |