[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: bug + patch for kmix
From: Rick Warner <rick () sapphire ! no-ip ! com>
Date: 2003-03-13 20:27:49
[Download RAW message or body]
Hello alll, .
I am running the latest KDE_#_!_RANCH
I have found a problem with the kmix dock applet. Using alsa9 with an intel
8x0 chipset, the max volume level is 31.. when the volume is set to max, the
tooltip that pops up for the docked app says volume is at 31%, rather than
the correct 100%
I have mad e a 1 line patch to resolve this problem. It is attached. Please
apply from kdemultimedia/kmix
--
Rick Warner
Systems Integrator
"In a world without fences and doors, who needs Gates and Windows?"
["kmixdockwidget.patch" (text/x-diff)]
--- kmixdockwidget.cpp.orig 2003-03-13 15:21:13.000000000 -0500
+++ kmixdockwidget.cpp 2003-03-13 15:21:58.000000000 -0500
@@ -78,7 +78,7 @@
void KMixDockWidget::setVolumeTip(int, Volume vol)
{
MixDevice *masterDevice = ( *m_mixer )[ m_mixer->masterDevice() ];
- QString tip = i18n("Volume at %1%").arg(vol.getVolume(0));
+ QString tip = i18n("Volume at %1%").arg((vol.getVolume(0)*100)/(vol.maxVolume()));
if ( masterDevice->isMuted() )
tip += i18n( " (Muted)" );
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic