Load runners when asked to match directly, not only when launching matches
Optimally we should load only that runner... svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=807162
This commit is contained in:
parent
b70d1d4bc6
commit
a709955f14
@ -438,6 +438,10 @@ bool RunnerManager::execQuery(const QString &term)
|
||||
|
||||
bool RunnerManager::execQuery(const QString &term, const QString &runnerName)
|
||||
{
|
||||
if (d->runners.isEmpty()) {
|
||||
d->loadAll();
|
||||
}
|
||||
|
||||
if (term.isEmpty()) {
|
||||
reset();
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user