summaryrefslogtreecommitdiffstats
path: root/viewer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'viewer.cpp')
-rw-r--r--viewer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/viewer.cpp b/viewer.cpp
index b1a3781..5b35b96 100644
--- a/viewer.cpp
+++ b/viewer.cpp
@@ -19,6 +19,7 @@ Viewer::Viewer(QWidget *parent, Qt::WindowFlags f) : QWidget(parent, f), mCurInd
}
void Viewer::setFile(const QString &file, bool allFiles){
+ mFiles.clear();
mCurIndex = -1;
QFileInfo fi(file);
QMimeDatabase db;