diff options
author | Uwe Klotz <uwe_klotz@web.de> | 2017-06-17 12:53:40 +0200 |
---|---|---|
committer | Uwe Klotz <uwe_klotz@web.de> | 2017-06-17 13:48:38 +0200 |
commit | c1823edc3f3db362ae75e116c5c9a63dff45f49c (patch) | |
tree | c8e88a3ca45b035caeabe38d7fd838613323aaf1 /src/library/library.cpp | |
parent | 544edfbc95e41b15204d3fe012f5639eed8c8ddd (diff) |
Reformat code
Diffstat (limited to 'src/library/library.cpp')
-rw-r--r-- | src/library/library.cpp | 30 |
1 files changed, 16 insertions, 14 deletions
diff --git a/src/library/library.cpp b/src/library/library.cpp index 0cadfbed65..e7e779a32e 100644 --- a/src/library/library.cpp +++ b/src/library/library.cpp @@ -59,20 +59,22 @@ const QString Library::m_sTrackViewName = QString("WTrackTableView"); // The default row height of the library. const int Library::kDefaultRowHeightPx = 20; -Library::Library(QObject* parent, UserSettingsPointer pConfig, - PlayerManagerInterface* pPlayerManager, - RecordingManager* pRecordingManager) : - m_pConfig(pConfig), - m_mixxxDb(pConfig), - m_dbConnectionPooler(m_mixxxDb.connectionPool()), - m_pSidebarModel(new SidebarModel(parent)), - m_pTrackCollection(new TrackCollection(pConfig)), - m_pLibraryControl(new LibraryControl(this)), - m_pMixxxLibraryFeature(nullptr), - m_pPlaylistFeature(nullptr), - m_pCrateFeature(nullptr), - m_pAnalysisFeature(nullptr), - m_scanner(m_mixxxDb.connectionPool(), m_pTrackCollection, pConfig) { +Library::Library( + QObject* parent, + UserSettingsPointer pConfig, + PlayerManagerInterface* pPlayerManager, + RecordingManager* pRecordingManager) + : m_pConfig(pConfig), + m_mixxxDb(pConfig), + m_dbConnectionPooler(m_mixxxDb.connectionPool()), + m_pSidebarModel(new SidebarModel(parent)), + m_pTrackCollection(new TrackCollection(pConfig)), + m_pLibraryControl(new LibraryControl(this)), + m_pMixxxLibraryFeature(nullptr), + m_pPlaylistFeature(nullptr), + m_pCrateFeature(nullptr), + m_pAnalysisFeature(nullptr), + m_scanner(m_mixxxDb.connectionPool(), m_pTrackCollection, pConfig) { kLogger.info() << "Opening datbase connection"; const mixxx::DbConnectionPooled dbConnectionPooled(m_mixxxDb.connectionPool()); |