diff options
Diffstat (limited to 'juk/collectionlist.cpp')
-rw-r--r-- | juk/collectionlist.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/juk/collectionlist.cpp b/juk/collectionlist.cpp index 2f005009..2816f85e 100644 --- a/juk/collectionlist.cpp +++ b/juk/collectionlist.cpp @@ -90,7 +90,7 @@ PlaylistItem *CollectionList::createItem(const FileHandle &file, TQListViewItem // It's probably possible to optimize the line below away, but, well, right // now it's more important to not load duplicate items. - if(m_itemsDict.tqfind(file.absFilePath())) + if(m_itemsDict.find(file.absFilePath())) return 0; PlaylistItem *item = new CollectionListItem(file); @@ -286,7 +286,7 @@ TQString CollectionList::addStringToDict(const TQString &value, unsigned column) if(column > m_columnTags.count() || value.stripWhiteSpace().isEmpty()) return TQString(); - int *refCountPtr = m_columnTags[column]->tqfind(value); + int *refCountPtr = m_columnTags[column]->find(value); if(refCountPtr) ++(*refCountPtr); else { @@ -336,7 +336,7 @@ void CollectionList::removeStringFromDict(const TQString &value, unsigned column if(column > m_columnTags.count() || value.isEmpty()) return; - int *refCountPtr = m_columnTags[column]->tqfind(value); + int *refCountPtr = m_columnTags[column]->find(value); if(refCountPtr) { --(*refCountPtr); if(*refCountPtr == 0) { |