mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-24 19:02:59 +00:00
remove redundant IconCache post-routine cleanup function
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
13dc163d50
commit
5861005756
1 changed files with 1 additions and 7 deletions
|
@ -88,14 +88,8 @@ QT_BEGIN_NAMESPACE
|
|||
|
||||
static QAtomicInt serialNumCounter = QAtomicInt(1);
|
||||
|
||||
static void qt_cleanup_icon_cache();
|
||||
typedef QCache<QString, QIcon> IconCache;
|
||||
Q_GLOBAL_STATIC_WITH_INITIALIZER(IconCache, qtIconCache, qAddPostRoutine(qt_cleanup_icon_cache))
|
||||
|
||||
static void qt_cleanup_icon_cache()
|
||||
{
|
||||
qtIconCache()->clear();
|
||||
}
|
||||
Q_GLOBAL_STATIC(IconCache, qtIconCache)
|
||||
|
||||
QIconPrivate::QIconPrivate()
|
||||
: engine(0), ref(1),
|
||||
|
|
Loading…
Add table
Reference in a new issue