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

fix: typo ;) #12726

Merged
merged 1 commit into from
Feb 5, 2024
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
2 changes: 1 addition & 1 deletion src/library/library.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -661,7 +661,7 @@ void Library::setRowHeight(int rowHeight) {
emit setTrackTableRowHeight(rowHeight);
}

void Library::setEditMedatataSelectedClick(bool enabled) {
void Library::setEditMetadataSelectedClick(bool enabled) {
m_editMetadataSelectedClick = enabled;
emit setSelectedClick(enabled);
}
Expand Down
2 changes: 1 addition & 1 deletion src/library/library.h
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ class Library: public QObject {

void setFont(const QFont& font);
void setRowHeight(int rowHeight);
void setEditMedatataSelectedClick(bool enable);
void setEditMetadataSelectedClick(bool enable);

/// Triggers a new search in the internal track collection
/// and shows the results by switching the view.
Expand Down
4 changes: 2 additions & 2 deletions src/preferences/dialog/dlgpreflibrary.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ void DlgPrefLibrary::slotUpdate() {
kEditMetadataSelectedClickConfigKey,
kEditMetadataSelectedClickDefault);
checkBoxEditMetadataSelectedClicked->setChecked(editMetadataSelectedClick);
m_pLibrary->setEditMedatataSelectedClick(editMetadataSelectedClick);
m_pLibrary->setEditMetadataSelectedClick(editMetadataSelectedClick);

checkBoxEnableSearchCompletions->setChecked(m_pConfig->getValue(
kEnableSearchCompletionsConfigKey,
Expand Down Expand Up @@ -502,7 +502,7 @@ void DlgPrefLibrary::slotApply() {

m_pConfig->set(kEditMetadataSelectedClickConfigKey,
ConfigValue(checkBoxEditMetadataSelectedClicked->checkState()));
m_pLibrary->setEditMedatataSelectedClick(
m_pLibrary->setEditMetadataSelectedClick(
checkBoxEditMetadataSelectedClicked->checkState());

QFont font = m_pLibrary->getTrackTableFont();
Expand Down
Loading