fix mistake detected by f_aichele on irc.
svn path=/trunk/KDE/kdelibs/; revision=938778
This commit is contained in:
parent
5ac8aefd50
commit
9117a796eb
@ -237,7 +237,7 @@ RunnerManager::RunnerManager(KConfigGroup &c, QObject *parent)
|
||||
|
||||
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());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user