mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
parent
8198940607
commit
1afed5f72e
|
@ -127,7 +127,6 @@ void SmileyPack::cleanupIconsCache()
|
||||||
std::shared_ptr<QIcon>& icon = it->second;
|
std::shared_ptr<QIcon>& icon = it->second;
|
||||||
if (icon.use_count() == 1) {
|
if (icon.use_count() == 1) {
|
||||||
it = cachedIcon.erase(it);
|
it = cachedIcon.erase(it);
|
||||||
icon.reset();
|
|
||||||
} else {
|
} else {
|
||||||
++it;
|
++it;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user