Commit ab3d2168 authored by Kåre Särs's avatar Kåre Särs

Fix searching in folder. (QUrl::toLocalfile() in stead of toString())

parent bf46b914
......@@ -587,7 +587,7 @@ void KatePluginSearchView::folderFileListChanged()
QList<KTextEditor::Document*> openList;
for (int i=0; i<m_kateApp->documents().size(); i++) {
int index = fileList.indexOf(m_kateApp->documents()[i]->url().toString());
int index = fileList.indexOf(m_kateApp->documents()[i]->url().toLocalFile());
if (index != -1) {
openList << m_kateApp->documents()[i];
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