summaryrefslogtreecommitdiffstats
path: root/shemov.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'shemov.cpp')
-rw-r--r--shemov.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/shemov.cpp b/shemov.cpp
index aa29bdc..4969713 100644
--- a/shemov.cpp
+++ b/shemov.cpp
@@ -45,6 +45,8 @@
#include "listmodelsingleton.h"
#include "pictureviewer.h"
#include "archivetreeview.h"
+#include "smubermodelsingleton.h"
+#include "smubermodel.h"
SheMov::SheMov(QWidget *parent, Qt::WindowFlags flags) : QMainWindow(parent, flags), mOpenWithGroupFS(0), mOpenWithGroupAV(0) {
qApp->setWindowIcon(QIcon(":/shemov.png"));
@@ -116,6 +118,7 @@ SheMov::SheMov(QWidget *parent, Qt::WindowFlags flags) : QMainWindow(parent, fla
void SheMov::closeEvent(QCloseEvent *event){
mFSWidget->writeSettings();
mFSWidget->pictureViewer()->close();
+ delete SmUberModelSingleton::instance();
writeSettings();
event->accept();
}