Commit 55c97c4d authored by Tim Jansen's avatar Tim Jansen

Fix for the "JuK repeats the last track of the playlist" bug.

svn path=/trunk/kdemultimedia/juk/; revision=211163
parent 82c5d2b7
......@@ -49,10 +49,11 @@ GStreamerPlayer::~GStreamerPlayer()
void GStreamerPlayer::play(const QString &fileName, float volume)
{
m_currentFile = fileName;
if(!fileName.isNull())
if(!fileName.isEmpty()) {
m_player->setLocation(fileName);
play(volume);
play(volume);
}
}
void GStreamerPlayer::play(float 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