mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
adjusted optimization
This commit is contained in:
parent
4c99f2b5fd
commit
692563fd8e
|
@ -131,12 +131,12 @@ void Image::loadImage()
|
||||||
lli->isLoaded = true;
|
lli->isLoaded = true;
|
||||||
util::DebugCount::increase("loaded images");
|
util::DebugCount::increase("loaded images");
|
||||||
|
|
||||||
singletons::EmoteManager::getInstance().incGeneration();
|
|
||||||
|
|
||||||
if (!loadedEventQueued) {
|
if (!loadedEventQueued) {
|
||||||
loadedEventQueued = true;
|
loadedEventQueued = true;
|
||||||
|
|
||||||
QTimer::singleShot(750, [] {
|
QTimer::singleShot(500, [] {
|
||||||
|
singletons::EmoteManager::getInstance().incGeneration();
|
||||||
|
|
||||||
singletons::WindowManager::getInstance().layoutVisibleChatWidgets();
|
singletons::WindowManager::getInstance().layoutVisibleChatWidgets();
|
||||||
loadedEventQueued = false;
|
loadedEventQueued = false;
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue