summaryrefslogtreecommitdiffstats
path: root/juk/playlistsearch.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'juk/playlistsearch.cpp')
-rw-r--r--juk/playlistsearch.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/juk/playlistsearch.cpp b/juk/playlistsearch.cpp
index f0eb7a29..b5f8517a 100644
--- a/juk/playlistsearch.cpp
+++ b/juk/playlistsearch.cpp
@@ -197,7 +197,7 @@ bool PlaylistSearch::Component::matches(PlaylistItem *item) const
for(ColumnList::Iterator it = m_columns.begin(); it != m_columns.end(); ++it) {
if(m_re) {
- if(item->text(*it).tqfind(m_queryRe) > -1)
+ if(item->text(*it).find(m_queryRe) > -1)
return true;
else
break;
@@ -205,7 +205,7 @@ bool PlaylistSearch::Component::matches(PlaylistItem *item) const
switch(m_mode) {
case Contains:
- if(item->text(*it).tqfind(m_query, 0, m_caseSensitive) > -1)
+ if(item->text(*it).find(m_query, 0, m_caseSensitive) > -1)
return true;
break;
case Exact:
@@ -221,7 +221,7 @@ bool PlaylistSearch::Component::matches(PlaylistItem *item) const
case ContainsWord:
{
TQString s = item->text(*it);
- int i = s.tqfind(m_query, 0, m_caseSensitive);
+ int i = s.find(m_query, 0, m_caseSensitive);
if(i >= 0) {