summaryrefslogtreecommitdiffstats
path: root/smdirmodel.h
diff options
context:
space:
mode:
authorArno <am@disconnect.de>2014-12-10 22:10:50 +0100
committerArno <am@disconnect.de>2014-12-10 22:10:50 +0100
commit2c022561f692a813b44da39d6ffdcb373aa4c7ba (patch)
treea500c3623572e1230b12b2302b00bf558502dadd /smdirmodel.h
parent343d3db5f5ad571527a7ca70457cbb6ccb1bbb71 (diff)
downloadSheMov-2c022561f692a813b44da39d6ffdcb373aa4c7ba.tar.gz
SheMov-2c022561f692a813b44da39d6ffdcb373aa4c7ba.tar.bz2
SheMov-2c022561f692a813b44da39d6ffdcb373aa4c7ba.zip
Various Bugfixes and cleanups
* remove debug statements from SmDirWatcher * Don't crash on parentDir when current Dir is already deleted * Fix PicFilesModel MappingQuery. It needlessly referenced the table pics in FROM causing an expensive full table scan! * Fix findRecursive in PicFilesModel: Stupid typo! * Give SmDirWatcher a separate DB-Connection. One Thread, one Connection * Remove several includes This should have been 6 commits, but that's how debugging works :(
Diffstat (limited to 'smdirmodel.h')
-rw-r--r--smdirmodel.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/smdirmodel.h b/smdirmodel.h
index c4cc4ab..a775553 100644
--- a/smdirmodel.h
+++ b/smdirmodel.h
@@ -9,7 +9,6 @@
#define SMDIRMODEL_H
#include <QDir>
-#include <QSqlDatabase>
#include <smtreemodel.h>
#include <smdirwatcher.h>
@@ -60,7 +59,6 @@ class SmDirModel : public SmTreeModel {
QTimer *mRunTimer;
QTimer *mRefreshTimer;
QMap<QString, QIcon> mIcons;
- QSqlDatabase mDb;
bool mExpensiveOps;
};