summaryrefslogtreecommitdiffstats
path: root/newmoviewizard.h
diff options
context:
space:
mode:
authorArno <am@disconnect.de>2013-07-27 07:18:32 +0200
committerArno <am@disconnect.de>2013-07-27 07:18:32 +0200
commit1b1d3a18a8fffdd61f533fd4b0bde4f75d683212 (patch)
tree51b60f6afbe4a5e1bd8617a7c18f08a30e971526 /newmoviewizard.h
parent8fba0fcb81e7b517804f34a5c8ad3741f92926da (diff)
downloadSheMov-1b1d3a18a8fffdd61f533fd4b0bde4f75d683212.tar.gz
SheMov-1b1d3a18a8fffdd61f533fd4b0bde4f75d683212.tar.bz2
SheMov-1b1d3a18a8fffdd61f533fd4b0bde4f75d683212.zip
Cleanup closeEvent
Don't try to delete all the prepared statements manually. Get rid of the ~destructors and just close the QSqlDatabase. close() deletes all Statements. Also, quit() all QThreads on closeEvent() except CompleterProducer. When the experimental archive view gets merged, that QThread is gone. No need to bother...
Diffstat (limited to 'newmoviewizard.h')
-rw-r--r--newmoviewizard.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/newmoviewizard.h b/newmoviewizard.h
index 0aae2d2..5f4d385 100644
--- a/newmoviewizard.h
+++ b/newmoviewizard.h
@@ -117,7 +117,6 @@ class WizardTreeModel : public SmTreeModel {
enum { NumFields = 5 };
enum Types { Movie = 1, FrontCover = 2, BackCover = 3, GeneralCover = 4 };
explicit WizardTreeModel(QStringList &headers, QObject *parent = 0);
- virtual ~WizardTreeModel() {}
//data + flags
virtual QVariant data(const QModelIndex &index, int role) const;