refactor: No else after return
This commit is contained in:
parent
83a8d1c4ac
commit
7c279ec72d
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue