aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/desktop-utils/lumina-fm/Browser.h
diff options
context:
space:
mode:
Diffstat (limited to 'src-qt5/desktop-utils/lumina-fm/Browser.h')
-rw-r--r--src-qt5/desktop-utils/lumina-fm/Browser.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src-qt5/desktop-utils/lumina-fm/Browser.h b/src-qt5/desktop-utils/lumina-fm/Browser.h
index 7b180da9..c4641277 100644
--- a/src-qt5/desktop-utils/lumina-fm/Browser.h
+++ b/src-qt5/desktop-utils/lumina-fm/Browser.h
@@ -42,8 +42,11 @@ private:
QFileSystemWatcher *watcher;
bool showHidden;
QStringList imageFormats, oldFiles;
+ QHash<QString, QIcon> mimeIcons; //cache for quickly re-using QIcons
+
void loadItem(QString info); //this is the main loader class - multiple instances each run in a separate thread
+ QIcon loadIcon(QString icon); //simplification for using/populating the mimIcons cache
private slots:
void fileChanged(QString); //tied into the watcher - for file change notifications
bgstack15