Commit 8fb3303a authored by Matthias Kretz's avatar Matthias Kretz

the loopPlaylist action is not a KToggleAction

svn path=/trunk/KDE/kdemultimedia/juk/; revision=541045
parent 8ac6cd33
......@@ -75,7 +75,7 @@ void DefaultSequenceIterator::advance()
return;
bool isRandom = action("randomPlay") && action<KToggleAction>("randomPlay")->isChecked();
bool loop = action("loopPlaylist") && action<KToggleAction>("loopPlaylist")->isChecked();
bool loop = action<KAction>("loopPlaylist") && action<KAction>("loopPlaylist")->isChecked();
bool albumRandom = action("albumRandomPlay") && action<KToggleAction>("albumRandomPlay")->isChecked();
if(isRandom || albumRandom) {
......
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