From a3d9cab9edae313f2f172688a1aa9b352ec7bbd6 Mon Sep 17 00:00:00 2001 From: Arno Moeller Date: Thu, 17 Jun 2010 14:41:08 +0200 Subject: 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. --- shemov.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'shemov.cpp') 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(); } -- cgit v1.2.3-70-g09d2