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:
Jordi Polo 2008-05-13 05:18:51 +00:00
parent b70d1d4bc6
commit a709955f14

View File

@ -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;