From 85a9a67f94e967e7fce92df777b9b803ba676a73 Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Fri, 26 May 2017 15:41:55 -0400 Subject: Get the icon cache system all setup for the bulk of the desktop icons (application menus, etc). Now we are starting to see the better performance from this system... :-) --- src-qt5/core/libLumina/LIconCache.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src-qt5/core/libLumina/LIconCache.h') diff --git a/src-qt5/core/libLumina/LIconCache.h b/src-qt5/core/libLumina/LIconCache.h index 4a8f3442..cf585675 100644 --- a/src-qt5/core/libLumina/LIconCache.h +++ b/src-qt5/core/libLumina/LIconCache.h @@ -17,14 +17,15 @@ #include #include #include +#include //Data structure for saving the icon/information internally struct icon_data{ QString fullpath; QDateTime lastread; - QList pendingLabels; - QList pendingButtons; - QList pendingActions; + QList > pendingLabels; + QList > pendingButtons; + QList > pendingActions; QIcon icon; QIcon thumbnail; }; @@ -57,6 +58,7 @@ private: QStringList getChildIconDirs(QString path); //recursive function to find directories with icons in them QStringList getIconThemeDepChain(QString theme, QStringList paths); + void startReadFile(QString id, QString path); void ReadFile(LIconCache *obj, QString id, QString path); private slots: -- cgit