Commit 55559030 authored by Alexander Lohnau's avatar Alexander Lohnau 💬
Browse files

Fix many results when query starts with =

parent 00fbb83e
......@@ -87,6 +87,12 @@ RemoteActions SearchRunner::Actions()
RemoteMatches SearchRunner::Match(const QString& searchTerm)
// Do not try to show results for queries starting with =
// this should trigger the calculator, but the AdvancedQueryParser::parse method
// in baloo interpreted it as an operator, BUG 345134
if (searchTerm.startsWith(QLatin1Char('='))) {
return RemoteMatches();
if (m_lastRequest.type() != QDBusMessage::InvalidMessage) {
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