From 940c092f32d40263ad6b24f948eaf4c48b01e99a Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 15:13:25 -0600 Subject: Rename a number of classes to enhance compatibility with KDE4 --- juk/tracksequenceiterator.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'juk/tracksequenceiterator.cpp') diff --git a/juk/tracksequenceiterator.cpp b/juk/tracksequenceiterator.cpp index b60a68d0..4f9a0313 100644 --- a/juk/tracksequenceiterator.cpp +++ b/juk/tracksequenceiterator.cpp @@ -71,9 +71,9 @@ void DefaultSequenceIterator::advance() if(!current()) return; - bool isRandom = action("randomPlay") && action("randomPlay")->isChecked(); - bool loop = action("loopPlaylist") && action("loopPlaylist")->isChecked(); - bool albumRandom = action("albumRandomPlay") && action("albumRandomPlay")->isChecked(); + bool isRandom = action("randomPlay") && action("randomPlay")->isChecked(); + bool loop = action("loopPlaylist") && action("loopPlaylist")->isChecked(); + bool albumRandom = action("albumRandomPlay") && action("albumRandomPlay")->isChecked(); if(isRandom || albumRandom) { if(m_randomItems.isEmpty() && loop) { @@ -163,8 +163,8 @@ void DefaultSequenceIterator::backup() void DefaultSequenceIterator::prepareToPlay(Playlist *playlist) { - bool random = action("randomPlay") && action("randomPlay")->isChecked(); - bool albumRandom = action("albumRandomPlay") && action("albumRandomPlay")->isChecked(); + bool random = action("randomPlay") && action("randomPlay")->isChecked(); + bool albumRandom = action("albumRandomPlay") && action("albumRandomPlay")->isChecked(); if(random || albumRandom) { PlaylistItemList items = playlist->selectedItems(); @@ -213,8 +213,8 @@ void DefaultSequenceIterator::setCurrent(PlaylistItem *current) TrackSequenceIterator::setCurrent(current); - bool random = action("randomPlay") && action("randomPlay")->isChecked(); - bool albumRandom = action("albumRandomPlay") && action("albumRandomPlay")->isChecked(); + bool random = action("randomPlay") && action("randomPlay")->isChecked(); + bool albumRandom = action("albumRandomPlay") && action("albumRandomPlay")->isChecked(); if((albumRandom || random) && current && m_randomItems.isEmpty()) { -- cgit v1.2.1