Skip to content

Commit

Permalink
Merge pull request #2405 from uklotzde/external_collection_connected
Browse files Browse the repository at this point in the history
Fix race condition when checking for external collections
  • Loading branch information
daschuer authored Dec 18, 2019
2 parents 6207c11 + d77358f commit 9373585
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/widget/wtracktableview.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -491,9 +491,6 @@ void WTrackTableView::createActions() {
this, SLOT(slotExportTrackMetadataIntoFileTags()));

for (const auto& externalTrackCollection : m_pTrackCollectionManager->externalCollections()) {
if (!externalTrackCollection->isConnected()) {
continue; // skip
}
UpdateExternalTrackCollection updateInExternalTrackCollection;
updateInExternalTrackCollection.externalTrackCollection = externalTrackCollection;
updateInExternalTrackCollection.action = new QAction(externalTrackCollection->name(), this);
Expand Down

0 comments on commit 9373585

Please sign in to comment.