Skip to content

Commit

Permalink
Merge pull request #12726 from CodingSpiderFox/fix/typo
Browse files Browse the repository at this point in the history
fix: typo ;)
  • Loading branch information
ronso0 authored Feb 5, 2024
2 parents f62a325 + f24c83d commit af8e761
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
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

0 comments on commit af8e761

Please sign in to comment.