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
// chances are the user doesn't want that app.
if (weightedTermLength < 3) {
if (name.startsWith(term) || exec.startsWith(term)) {
if (name.startsWith(term, Qt::CaseInsensitive) || exec.startsWith(term, Qt::CaseInsensitive)) {
relevance = 0.9;
} else {
continue;

Loading…
Cancel
Save