From 2f1044cf6325ef76548375b602a14f8eb56eeb3f Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 20 Jan 2013 00:21:27 -0600 Subject: Rename KApplication to TDEApplication to avoid conflicts with KDE4 --- juk/tracksequenceiterator.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'juk/tracksequenceiterator.cpp') 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(); -- cgit v1.2.1