aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/desktop-utils/lumina-fm/Browser.h
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2018-02-09 15:08:20 -0500
committerKen Moore <ken@ixsystems.com>2018-02-09 15:08:20 -0500
commit6f893d72686b0153c23385c28666c3ada68e1f5d (patch)
tree2fa6ae0d6ea2a60e96765882b96b4f3954a9cb7f /src-qt5/desktop-utils/lumina-fm/Browser.h
parentBump the minor version of Lumina to 1.4.2 (diff)
downloadlumina-6f893d72686b0153c23385c28666c3ada68e1f5d.tar.gz
lumina-6f893d72686b0153c23385c28666c3ada68e1f5d.tar.bz2
lumina-6f893d72686b0153c23385c28666c3ada68e1f5d.zip
Fix up a number of crashes related to item loading times and multiple columns
Diffstat (limited to 'src-qt5/desktop-utils/lumina-fm/Browser.h')
-rw-r--r--src-qt5/desktop-utils/lumina-fm/Browser.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src-qt5/desktop-utils/lumina-fm/Browser.h b/src-qt5/desktop-utils/lumina-fm/Browser.h
index 0ad27fdb..c6a15218 100644
--- a/src-qt5/desktop-utils/lumina-fm/Browser.h
+++ b/src-qt5/desktop-utils/lumina-fm/Browser.h
@@ -40,8 +40,9 @@ private:
QFileSystemWatcher *watcher;
QMap<QString, QPixmap> videoImages;
bool showHidden, showThumbs;
- QStringList imageFormats, videoFormats, oldFiles;
+ QStringList imageFormats, videoFormats, oldFiles, updateList;
QHash<QString, QIcon> mimeIcons; //cache for quickly re-using QIcons
+ QTimer *updateTimer;
void loadItem(QString info, Browser *obj); //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
@@ -50,6 +51,7 @@ private slots:
void fileChanged(QString); //tied into the watcher - for file change notifications
void dirChanged(QString); // tied into the watcher - for new/removed files in the current dir
void futureFinished(QString, QImage);
+ void updateRequested();
public slots:
void loadDirectory(QString dir = "", bool force = false);
bgstack15