summaryrefslogtreecommitdiffstats
path: root/shemov.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'shemov.cpp')
-rw-r--r--shemov.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/shemov.cpp b/shemov.cpp
index 2bfe8c0..fa87d35 100644
--- a/shemov.cpp
+++ b/shemov.cpp
@@ -44,6 +44,7 @@
#include "filesystemfileproxy.h"
#include "moviemodelsingleton.h"
#include "listmodelsingleton.h"
+#include "pictureviewer.h"
SheMov::SheMov(QWidget *parent, Qt::WindowFlags flags) : QMainWindow(parent, flags), mOpenWithGroupFS(0), mOpenWithGroupAV(0) {
qApp->setWindowIcon(QIcon(":/shemov.png"));
@@ -114,6 +115,7 @@ SheMov::SheMov(QWidget *parent, Qt::WindowFlags flags) : QMainWindow(parent, fla
void SheMov::closeEvent(QCloseEvent *event){
mFSWidget->writeSettings();
+ mFSWidget->pictureViewer()->close();
writeSettings();
event->accept();
}