Commit 2500731f authored by Scott Wheeler's avatar Scott Wheeler

Actually this works just fine with sqrt()...


svn path=/trunk/kdemultimedia/juk/; revision=390125
parent 8e037f4f
......@@ -481,7 +481,7 @@ void PlayerManager::slotPollPlay()
if(!m_sliderAction->volumeDragging() && m_sliderAction->volumeSlider())
int maxV = m_sliderAction->volumeSlider()->maxValue();
float v = sqrtf(sqrtf(volume())); // Cancel out exponential scaling
float v = sqrt(sqrt(volume())); // Cancel out exponential scaling
m_sliderAction->volumeSlider()->setVolume((int)((v) * maxV));
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment