backporting 934733

svn path=/branches/KDE/4.2/kdelibs/; revision=944333
This commit is contained in:
Jacopo De Simoi 2009-03-25 13:00:11 +00:00
parent 28c29ce9ff
commit 397c4285ae

View File

@ -152,8 +152,7 @@ void AbstractRunner::performMatch(Plasma::RunnerContext &localContext)
setSpeed(SlowSpeed);
}
//If matches were not added, delete items on the heap
if (slowed && runtime < fastEnoughTime) {
if (slowed && runtime < fastEnoughTime && localContext.query().size() > 2) {
++d->fastRuns;
if (d->fastRuns > 2) {