refactor: No else after return

This commit is contained in:
Tomaz Canabrava
2025-05-08 12:29:27 +02:00
committed by Nick Bolton
parent 83a8d1c4ac
commit 7c279ec72d

View File

@ -74,7 +74,8 @@ void ScreenSettingsDialog::accept()
"Please either fill in a name or cancel the dialog.")
);
return;
} else if (!ui_->m_pLabelNameError->text().isEmpty()) {
}
if (!ui_->m_pLabelNameError->text().isEmpty()) {
return;
}