From ddd5f680b3dbd5e169d43f5216fbf24b04e4cb33 Mon Sep 17 00:00:00 2001 From: sandman Date: Thu, 31 Oct 2002 02:06:44 +0000 Subject: 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) --- (limited to 'core/applets/volumeapplet/volume.cpp') 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 @@ -581,7 +581,7 @@ VolumeApplet::VolumeApplet( QWidget *parent, const char *name ) setFixedWidth ( 14 ); m_pixmap = new QPixmap ( Resource::loadPixmap ( "volume" )); - m_dialog = new VolumeControl ( this ); + m_dialog = new VolumeControl ( this, true, this, "volumecontrol" ); connect ( qApp, SIGNAL( volumeChanged ( bool )), m_dialog, SLOT( volumeChanged( bool ))); connect ( qApp, SIGNAL( micChanged ( bool )), m_dialog, SLOT ( micChanged( bool ))); -- cgit v0.9.0.2