diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-20 00:21:27 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-20 00:21:27 -0600 |
commit | 2f1044cf6325ef76548375b602a14f8eb56eeb3f (patch) | |
tree | a5c4773d5bcb1e35ca3717dc96ba5cfcfac1b5f2 /juk/tracksequenceiterator.cpp | |
parent | 58646ccdcdc8ee08b081edba54e1460ff3295166 (diff) | |
download | tdemultimedia-2f1044cf6325ef76548375b602a14f8eb56eeb3f.tar.gz tdemultimedia-2f1044cf6325ef76548375b602a14f8eb56eeb3f.zip |
Rename KApplication to TDEApplication to avoid conflicts with KDE4
Diffstat (limited to 'juk/tracksequenceiterator.cpp')
-rw-r--r-- | juk/tracksequenceiterator.cpp | 6 |
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(); |