fix mistake detected by f_aichele on irc.

svn path=/trunk/KDE/kdelibs/; revision=938778
This commit is contained in:
David Faure 2009-03-12 23:25:45 +00:00
parent 5ac8aefd50
commit 9117a796eb

View File

@ -237,7 +237,7 @@ RunnerManager::RunnerManager(KConfigGroup &c, QObject *parent)
RunnerManager::~RunnerManager() RunnerManager::~RunnerManager()
{ {
if (!qApp->closingDown && (!d->searchJobs.isEmpty() || !d->oldSearchJobs.isEmpty())) { if (!qApp->closingDown() && (!d->searchJobs.isEmpty() || !d->oldSearchJobs.isEmpty())) {
new DelayedJobCleaner(d->searchJobs + d->oldSearchJobs, Weaver::instance()); new DelayedJobCleaner(d->searchJobs + d->oldSearchJobs, Weaver::instance());
} }