Commit b1d14654 authored by Waqar Ahmed's avatar Waqar Ahmed
Browse files

search: remove misleading warning

It warns when there is no match for file, however that is okay since a
search term may not have matched the document we open.
parent f1aef0a2
Pipeline #123296 passed with stage
in 6 minutes and 53 seconds
......@@ -216,7 +216,6 @@ const QVector<KateSearchMatch> &MatchModel::fileMatches(KTextEditor::Document *d
int row = matchFileRow(doc->url(), doc);
if (row < 0 || row >= m_matchFiles.size()) {
qWarning() << "fileMatches, matches requested for invalid doc: " << doc << doc->url();
static const QVector<KateSearchMatch> EmptyDummy;
return EmptyDummy;
Supports Markdown
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