Commit e466f58f authored by Christoph Cullmann's avatar Christoph Cullmann 🐮
Browse files

revert matches counter display, seems slow + is duplicated

parent 49cf6dd0
......@@ -1466,9 +1466,9 @@ void KatePluginSearchView::searching(const QString &file)
QTreeWidgetItem *root = m_curResults->tree->topLevelItem(0);
if (root) {
if (file.size() > 70) {
root->setData(0, Qt::DisplayRole, i18n("<b>Searching (%1 matches): ...%2</b>", m_curResults->matches, file.right(70)));
root->setData(0, Qt::DisplayRole, i18n("<b>Searching: ...%1</b>", file.right(70)));
} else {
root->setData(0, Qt::DisplayRole, i18n("<b>Searching (%1 matches): %2</b>", m_curResults->matches, file));
root->setData(0, Qt::DisplayRole, i18n("<b>Searching: %1</b>", file));
}
}
}
......
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