Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 446a19ce authored by Scott Wheeler's avatar Scott Wheeler

Remember to stop playing a paused file before starting another one in

JuK::playFile(QString &)

svn path=/trunk/kdemultimedia/juk/; revision=202680
parent 03e20f91
......@@ -425,6 +425,9 @@ void JuK::setVolume(int volume)
void JuK::playFile(const QString &file)
{
float volume = float(sliderAction->getVolumeSlider()->value()) / float(sliderAction->getVolumeSlider()->maxValue());
if(player.paused())
player.stop();
player.play(file, volume);
......
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