Formatting

This commit is contained in:
Jonas Kvinge
2021-08-23 21:21:08 +02:00
parent ed7794f396
commit ea2bfbda44
111 changed files with 833 additions and 425 deletions

View File

@@ -878,8 +878,9 @@ void EditTagDialog::FieldValueEdited() {
if (ignore_edits_) return;
const QModelIndexList sel = ui_->song_list->selectionModel()->selectedIndexes();
if (sel.isEmpty())
if (sel.isEmpty()) {
return;
}
QWidget *w = qobject_cast<QWidget*>(sender());
@@ -896,8 +897,9 @@ void EditTagDialog::FieldValueEdited() {
void EditTagDialog::ResetField() {
const QModelIndexList sel = ui_->song_list->selectionModel()->selectedIndexes();
if (sel.isEmpty())
if (sel.isEmpty()) {
return;
}
QWidget *w = qobject_cast<QWidget*>(sender());