diff options
Diffstat (limited to 'src/library/library.cpp')
-rw-r--r-- | src/library/library.cpp | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/src/library/library.cpp b/src/library/library.cpp index 915b78d939..423c83f135 100644 --- a/src/library/library.cpp +++ b/src/library/library.cpp @@ -97,7 +97,8 @@ Library::Library( connect(m_pMixxxLibraryFeature, &MixxxLibraryFeature::exportLibrary, this, - &Library::exportLibrary); + &Library::exportLibrary, + Qt::DirectConnection /* signal-to-signal */); #endif addFeature(new AutoDJFeature(this, m_pConfig, pPlayerManager)); @@ -107,8 +108,16 @@ Library::Library( m_pCrateFeature = new CrateFeature(this, m_pConfig); addFeature(m_pCrateFeature); #ifdef __ENGINEPRIME__ - connect(m_pCrateFeature, &CrateFeature::exportAllCrates, this, &Library::exportLibrary); - connect(m_pCrateFeature, &CrateFeature::exportCrate, this, &Library::exportCrate); + connect(m_pCrateFeature, + &CrateFeature::exportAllCrates, + this, + &Library::exportLibrary, + Qt::DirectConnection); + connect(m_pCrateFeature, + &CrateFeature::exportCrate, + this, + &Library::exportCrate, + Qt::DirectConnection); #endif BrowseFeature* browseFeature = new BrowseFeature( @@ -578,8 +587,6 @@ void Library::searchTracksInCollection(const QString& query) { #ifdef __ENGINEPRIME__ std::unique_ptr<mixxx::LibraryExporter> Library::makeLibraryExporter( QWidget* parent) { - // New object is expected to be owned (and lifecycle-managed) - // by the supplied parent widget. return std::make_unique<mixxx::LibraryExporter>( parent, m_pConfig, m_pTrackCollectionManager); } |