Don't keep QSqlDatabase instance
This commit is contained in:
+1
-2
@@ -10,7 +10,6 @@
|
||||
class Database : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
QSqlDatabase m_database;
|
||||
QSqlQuery m_markQuery;
|
||||
QSqlQuery m_unmarkQuery;
|
||||
QSqlQuery m_isMarkedQuery;
|
||||
@@ -34,7 +33,7 @@ public:
|
||||
QStringList getFitsKeywords();
|
||||
protected:
|
||||
bool indexDir2(const QDir &dir, QProgressDialog *progress);
|
||||
bool checkError();
|
||||
bool checkError(QSqlQuery &query);
|
||||
};
|
||||
|
||||
#endif // DATABASE_H
|
||||
|
||||
Reference in New Issue
Block a user