summaryrefslogtreecommitdiffstats
path: root/juk/viewmode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'juk/viewmode.cpp')
-rw-r--r--juk/viewmode.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/juk/viewmode.cpp b/juk/viewmode.cpp
index 785f765b..b95d8cbc 100644
--- a/juk/viewmode.cpp
+++ b/juk/viewmode.cpp
@@ -195,7 +195,7 @@ TQStringList ViewMode::lines(const PlaylistBox::Item *item,
fm.width(line.mid(0, textLength).stripWhiteSpace()) +
item->listView()->itemMargin() * 2 > width)
{
- int i = line.tqfindRev(TQRegExp( "\\W"), textLength - 1);
+ int i = line.findRev(TQRegExp( "\\W"), textLength - 1);
if(i > 0)
textLength = i;
else
@@ -313,7 +313,7 @@ void TreeViewMode::removeItem(const TQString &item, unsigned column)
return;
}
- if(!m_treeViewItems.tqfind(itemKey))
+ if(!m_treeViewItems.find(itemKey))
return;
TreeViewItemPlaylist *itemPlaylist = m_treeViewItems[itemKey];
@@ -363,7 +363,7 @@ void TreeViewMode::addItems(const TQStringList &items, unsigned column)
item = *it;
itemKey = searchCategory + item;
- if(m_treeViewItems.tqfind(itemKey))
+ if(m_treeViewItems.find(itemKey))
continue;
components.clear();