Revision 45135a14
Von Christian Ehringfeld vor fast 9 Jahren hinzugefügt
src/entitymanager.cpp | ||
---|---|---|
QString hostname,
|
||
QString username,
|
||
QString password, QString port) : QObject() {
|
||
bool logQueries = false;
|
||
#ifdef QT_DEBUG
|
||
logQueries = true;
|
||
#endif
|
||
auto db = new Database(databaseType, this->createConnection(), hostname,
|
||
databasename, username,
|
||
password,
|
||
port.toInt());
|
||
port.toInt(),true,logQueries);
|
||
this->db = QSharedPointer<Database>(db);
|
||
this->init();
|
||
}
|
Auch abrufbar als: Unified diff
integration of logger component