Skip to content

Commit

Permalink
Revert "WTrackMenu::featureIsEnabled(): Fix unhandled case"
Browse files Browse the repository at this point in the history
This reverts commit 576e2cf.
  • Loading branch information
ronso0 committed Apr 8, 2022
1 parent 1e9744d commit 0b114b9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/widget/wtrackmenu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2106,8 +2106,6 @@ bool WTrackMenu::featureIsEnabled(Feature flag) const {
return m_pTrackModel->hasCapabilities(TrackModel::Capability::EditMetadata);
case Feature::SearchRelated:
return m_pLibrary != nullptr;
case Feature::UpdateReplayGain:
return m_pTrackModel->hasCapabilities(TrackModel::Capability::EditMetadata);
default:
DEBUG_ASSERT(!"unreachable");
return false;
Expand Down

0 comments on commit 0b114b9

Please sign in to comment.