1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-17 19:37:09 +02:00

* No need to manually clone impls anymore.

This commit is contained in:
Christian Muehlhaeuser
2012-06-20 11:04:22 +02:00
parent 7bb61f1a38
commit 3b87444cd9

View File

@@ -68,7 +68,7 @@ DatabaseWorker::~DatabaseWorker()
void void
DatabaseWorker::run() DatabaseWorker::run()
{ {
m_dbimpl = m_db->impl()->clone(); m_dbimpl = Database::instance()->impl();
tDebug() << "New db connection with name:" << m_dbimpl->database().connectionName(); tDebug() << "New db connection with name:" << m_dbimpl->database().connectionName();
exec(); exec();
qDebug() << Q_FUNC_INFO << "DatabaseWorker finishing..."; qDebug() << Q_FUNC_INFO << "DatabaseWorker finishing...";