45 + m_thumbnailUtilsThread->deleteLater();
I'd call m_thumbnailUtilsThread->wait() and delete the thread directly instead
234 + QMetaObject::invokeMethod(&WebThumbnailUtils::instance(), "cacheThumbnail",
You could add the connection type Qt::QueuedConnection, to highlight (and make sure) that it's asynchronous.
148 + qint64 goal = MAX_CACHE_SIZE_IN_BYTES * 9 / 10;
So the max cache size is 90% of 5MB? Why?
45 + m_thumbnailUtil sThread- >deleteLater( ); sThread- >wait() and delete the thread directly instead
I'd call m_thumbnailUtil
234 + QMetaObject: :invokeMethod( &WebThumbnailUt ils::instance( ), "cacheThumbnail", ction, to highlight (and make sure) that it's asynchronous.
You could add the connection type Qt::QueuedConne
148 + qint64 goal = MAX_CACHE_ SIZE_IN_ BYTES * 9 / 10;
So the max cache size is 90% of 5MB? Why?