diff options
author | Arno Moeller <am@mindwerk.de> | 2010-06-17 14:41:08 +0200 |
---|---|---|
committer | Arno Moeller <am@mindwerk.de> | 2010-06-17 14:41:08 +0200 |
commit | a3d9cab9edae313f2f172688a1aa9b352ec7bbd6 (patch) | |
tree | 52db36a131a164a732d3a52fc7abd650c2614c13 /shemov.cpp | |
parent | f5a7d411051d3112a90e26f1e382dc1e00fb9a00 (diff) | |
download | SheMov-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.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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(); } |