Reduce warnings starting the pixmap save timer from other threads
REVIEW: 114382
This commit is contained in:
parent
86d030efac
commit
1f83fdcc3c
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user