Merge branch 'Plasma/5.12'

wilder-5.14
Kai Uwe Broulik 8 years ago
commit 46c053702b
  1. 2
      runners/services/servicerunner.cpp

@ -241,7 +241,7 @@ private:
// If the term was < 3 chars and NOT at the beginning of the App's name or Exec, then // If the term was < 3 chars and NOT at the beginning of the App's name or Exec, then
// chances are the user doesn't want that app. // chances are the user doesn't want that app.
if (weightedTermLength < 3) { if (weightedTermLength < 3) {
if (name.startsWith(term) || exec.startsWith(term)) { if (name.startsWith(term, Qt::CaseInsensitive) || exec.startsWith(term, Qt::CaseInsensitive)) {
relevance = 0.9; relevance = 0.9;
} else { } else {
continue; continue;

Loading…
Cancel
Save