diff options
Diffstat (limited to 'src/library/library.cpp')
-rw-r--r-- | src/library/library.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/library.cpp b/src/library/library.cpp index e22f506b36..cc5e934e48 100644 --- a/src/library/library.cpp +++ b/src/library/library.cpp @@ -72,7 +72,7 @@ Library::Library(QObject* parent, UserSettingsPointer pConfig, m_scanner(m_mixxxDb.connectionPool(), m_pTrackCollection, pConfig) { kLogger.info() << "Opening datbase connection"; - const mixxx::DbConnectionPooled dbConnectionPooled(m_dbConnectionPooler); + const mixxx::DbConnectionPooled dbConnectionPooled(m_mixxxDb.connectionPool()); if (!dbConnectionPooled) { QMessageBox::critical(0, tr("Cannot open database"), tr("Unable to establish a database connection.\n" |