[PATCH] Fixing the KMix applet
Andras Mantia
amantia at freemail.hu
Mon Dec 1 08:54:21 GMT 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Indeed, this is match cleaner and simpler. I told you, I'm a simple user. :-)
Another bug: the applet is unusable if it's put on a vertical panel.
Andras
> I get the idea. Thanks for the hint. But I applied a slightly different
> patch (only like this I can be sure to break nothing):
>
> diff -u -r1.64 mixdevicewidget.cpp
> --- mixdevicewidget.cpp 24 Nov 2003 22:44:48 -0000 1.64
> +++ mixdevicewidget.cpp 30 Nov 2003 21:22:26 -0000
> @@ -258,7 +258,8 @@
> // create record source LED
> if( m_mixdevice->isRecordable() && ! isSwitch() )
> {
> - layout->addSpacing( 2 );
> + if ( showRecordLED )
> + layout->addSpacing( 2 );
> m_recordLED = new KLedButton( Qt::red,
>
> m_mixdevice->isRecSource()?KLed::On:KLed::Off, KLed::Sunken,
> KLed::Circular, this, "RecordLED" );
>
> > And another bug: changing the direction of the sliders breaks the
> > layout...
>
> And changing the colors resizes the applet to the width of one slider or
> resets the applet to say "Invalid mixer".
- --
Quanta Plus developer - http://quanta.sourceforge.net
K Desktop Environment - http://www.kde.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)
iD8DBQE/ywHCTQdfac6L/08RAldPAKCLnxEdVXc1Ipnam86Za39zxZqf/ACgid0d
TCQoGAXukM/Npk1x+VXyQdc=
=yF8x
-----END PGP SIGNATURE-----
More information about the kde-core-devel
mailing list