Pass database object to others using their constructors.
Prepare SQLiteDB class functions so it can be instantiated.
This commit is contained in:
@@ -29,8 +29,7 @@
|
||||
#include <QDebug>
|
||||
|
||||
QListDB::QListDB(QObject *parent) :
|
||||
Database(parent),
|
||||
mutex(QMutex::Recursive)
|
||||
Database(parent)
|
||||
{
|
||||
QString uuid = QSettings().value("lastAccountId", "ffffffffffffffff").toString();
|
||||
CMARootObject::uuid = uuid;
|
||||
|
Reference in New Issue
Block a user