summaryrefslogtreecommitdiffstats
path: root/juk/tracksequenceiterator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'juk/tracksequenceiterator.cpp')
-rw-r--r--juk/tracksequenceiterator.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/juk/tracksequenceiterator.cpp b/juk/tracksequenceiterator.cpp
index d53a3a17..b60a68d0 100644
--- a/juk/tracksequenceiterator.cpp
+++ b/juk/tracksequenceiterator.cpp
@@ -97,7 +97,7 @@ void DefaultSequenceIterator::advance()
if(albumRandom) {
if(m_albumSearch.isNull() || m_albumSearch.matchedItems().isEmpty()) {
- item = m_randomItems[KApplication::random() % m_randomItems.count()];
+ item = m_randomItems[TDEApplication::random() % m_randomItems.count()];
initAlbumSearch(item);
}
@@ -132,7 +132,7 @@ void DefaultSequenceIterator::advance()
kdError(65432) << "Unable to perform album random play on " << *item << endl;
}
else
- item = m_randomItems[KApplication::random() % m_randomItems.count()];
+ item = m_randomItems[TDEApplication::random() % m_randomItems.count()];
setCurrent(item);
m_randomItems.remove(item);
@@ -173,7 +173,7 @@ void DefaultSequenceIterator::prepareToPlay(Playlist *playlist)
PlaylistItem *newItem = 0;
if(!items.isEmpty())
- newItem = items[KApplication::random() % items.count()];
+ newItem = items[TDEApplication::random() % items.count()];
setCurrent(newItem);
refillRandomList();