diff options
author | Uwe Klotz <uwe_klotz@web.de> | 2017-06-15 20:49:23 +0200 |
---|---|---|
committer | Uwe Klotz <uwe_klotz@web.de> | 2017-06-15 20:49:23 +0200 |
commit | 2a66897216245915848c4bf52c3d895340201edc (patch) | |
tree | 9b0ea758d283888a44dc6c2994de4975ec64a9ca /src/library/library.cpp | |
parent | dacbaaa04b17684d7ffb22e530156d8381759f73 (diff) |
Avoid dependency between "Pooler" and "Pooled" just for convenience
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" |