Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Browse/Recording: disable the search box #4382

Merged
merged 1 commit into from
Oct 12, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/library/browse/browsefeature.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,7 @@ void BrowseFeature::activateChild(const QModelIndex& index) {
m_browseModel.setPath(dir);
}
emit showTrackModel(&m_proxyModel);
emit disableSearch();
emit enableCoverArtDisplay(false);
}

Expand Down
3 changes: 1 addition & 2 deletions src/library/recording/recordingfeature.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ void RecordingFeature::bindLibraryWidget(WLibrary* pLibraryWidget,
void RecordingFeature::activate() {
emit refreshBrowseModel();
emit switchToView(kViewName);
// Ask the view to emit a restoreSearch signal.
emit requestRestoreSearch();
emit disableSearch();
emit enableCoverArtDisplay(false);
}