Reduce warnings starting the pixmap save timer from other threads

REVIEW: 114382
This commit is contained in:
David Edmundson 2013-12-10 16:06:37 +01:00
parent 86d030efac
commit 1f83fdcc3c

View File

@ -332,7 +332,9 @@ void Theme::insertIntoCache(const QString& key, const QPixmap& pix, const QStrin
d->keysToCache.insert(key, id);
d->idsToCache.insert(id, key);
d->saveTimer->start();
//always start timer in d->saveTimer's thread
QMetaObject::invokeMethod(d->saveTimer, "start", Qt::QueuedConnection);
}
}