refactor: No else after return
This commit is contained in:
committed by
Nick Bolton
parent
83a8d1c4ac
commit
7c279ec72d
@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user