diff options
Diffstat (limited to 'lumina-fm/widgets/DirWidget.h')
-rw-r--r-- | lumina-fm/widgets/DirWidget.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lumina-fm/widgets/DirWidget.h b/lumina-fm/widgets/DirWidget.h index f26002af..274873e2 100644 --- a/lumina-fm/widgets/DirWidget.h +++ b/lumina-fm/widgets/DirWidget.h @@ -16,6 +16,7 @@ #include <QShortcut> #include <QFileSystemWatcher> #include <QTimer> +#include <QFuture> #include "../DirData.h" #include "DDListWidgets.h" @@ -33,6 +34,8 @@ public: DirWidget(QString objID, QWidget *parent = 0); //needs a unique ID (to distinguish from other DirWidgets) ~DirWidget(); + void cleanup(); //called before the browser is closed down + //Directory Managment void ChangeDir(QString dirpath); void setDirCompleter(QCompleter *comp); @@ -77,6 +80,7 @@ private: bool showDetails, showThumbs, canmodify, stopload; //which widget to use for showing items QList<DETAILTYPES> listDetails; QMenu *contextMenu; + QFuture<void> thumbThread; //The Toolbar and associated items QToolBar *toolbar; QLineEdit *line_dir; |