summaryrefslogtreecommitdiffstats
path: root/shemov.cpp
diff options
context:
space:
mode:
authorArno Moeller <am@mindwerk.de>2010-06-17 14:41:08 +0200
committerArno Moeller <am@mindwerk.de>2010-06-17 14:41:08 +0200
commita3d9cab9edae313f2f172688a1aa9b352ec7bbd6 (patch)
tree52db36a131a164a732d3a52fc7abd650c2614c13 /shemov.cpp
parentf5a7d411051d3112a90e26f1e382dc1e00fb9a00 (diff)
downloadSheMov-a3d9cab9edae313f2f172688a1aa9b352ec7bbd6.tar.gz
SheMov-a3d9cab9edae313f2f172688a1aa9b352ec7bbd6.tar.bz2
SheMov-a3d9cab9edae313f2f172688a1aa9b352ec7bbd6.zip
Fixed SeriesTreeModel
There was no serious problem with the database schema. Maybe I should have gone to bed earlier. Updating and changing series names now works.
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();
}