Commit 08c9b60a authored by Scott Wheeler's avatar Scott Wheeler

Fix pattern based matches.

CCMAIL:Arnold Krille <arnold@arnoldarts.de>

svn path=/trunk/kdemultimedia/juk/; revision=308852
parent 5bbe783e
......@@ -84,7 +84,10 @@ PlaylistSearch::Component SearchLine::searchComponent() const
else
searchedColumns.append(m_columnList[m_searchFieldsBox->currentItem() - 1]);
return PlaylistSearch::Component(query, caseSensitive, searchedColumns);
if(m_caseSensitive && m_caseSensitive->currentItem() == Pattern)
return PlaylistSearch::Component(QRegExp(query), searchedColumns);
else
return PlaylistSearch::Component(query, caseSensitive, searchedColumns);
}
void SearchLine::setSearchComponent(const PlaylistSearch::Component &component)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment