author | sandman <sandman> | 2002-10-31 02:06:44 (UTC) |
---|---|---|
committer | sandman <sandman> | 2002-10-31 02:06:44 (UTC) |
commit | ddd5f680b3dbd5e169d43f5216fbf24b04e4cb33 (patch) (unidiff) | |
tree | 4c2f1dbf746db2d9d38223f3a63f39eb3efd2c33 | |
parent | 5a08fd92ac139820e1a1202d0b4b67190f24ccdb (diff) | |
download | opie-ddd5f680b3dbd5e169d43f5216fbf24b04e4cb33.zip opie-ddd5f680b3dbd5e169d43f5216fbf24b04e4cb33.tar.gz opie-ddd5f680b3dbd5e169d43f5216fbf24b04e4cb33.tar.bz2 |
I have finally found the "launcher-settings sometimes crashes Opie bug"
it's the volume applet popup, that has no parent widget (that should
really be no problem, but it works perfectly if you give it a parent)
-rw-r--r-- | core/applets/volumeapplet/volume.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/applets/volumeapplet/volume.cpp b/core/applets/volumeapplet/volume.cpp index aec346b..06eec58 100644 --- a/core/applets/volumeapplet/volume.cpp +++ b/core/applets/volumeapplet/volume.cpp | |||
@@ -576,17 +576,17 @@ void VolumeControl::writeConfigEntry ( const char *entry, int val, eUpdate upd ) | |||
576 | 576 | ||
577 | VolumeApplet::VolumeApplet( QWidget *parent, const char *name ) | 577 | VolumeApplet::VolumeApplet( QWidget *parent, const char *name ) |
578 | : QWidget( parent, name ) | 578 | : QWidget( parent, name ) |
579 | { | 579 | { |
580 | setFixedHeight ( 18 ); | 580 | setFixedHeight ( 18 ); |
581 | setFixedWidth ( 14 ); | 581 | setFixedWidth ( 14 ); |
582 | 582 | ||
583 | m_pixmap = new QPixmap ( Resource::loadPixmap ( "volume" )); | 583 | m_pixmap = new QPixmap ( Resource::loadPixmap ( "volume" )); |
584 | m_dialog = new VolumeControl ( this ); | 584 | m_dialog = new VolumeControl ( this, true, this, "volumecontrol" ); |
585 | 585 | ||
586 | connect ( qApp, SIGNAL( volumeChanged ( bool )), m_dialog, SLOT( volumeChanged( bool ))); | 586 | connect ( qApp, SIGNAL( volumeChanged ( bool )), m_dialog, SLOT( volumeChanged( bool ))); |
587 | connect ( qApp, SIGNAL( micChanged ( bool )), m_dialog, SLOT ( micChanged( bool ))); | 587 | connect ( qApp, SIGNAL( micChanged ( bool )), m_dialog, SLOT ( micChanged( bool ))); |
588 | } | 588 | } |
589 | 589 | ||
590 | VolumeApplet::~VolumeApplet() | 590 | VolumeApplet::~VolumeApplet() |
591 | { | 591 | { |
592 | delete m_pixmap; | 592 | delete m_pixmap; |