[FEM] remove more superfluous nullptr checks

This commit is contained in:
Uwe
2022-07-18 02:34:57 +02:00
parent 24468b59ad
commit f467451ae3
9 changed files with 16 additions and 16 deletions

View File

@@ -71,7 +71,7 @@ bool ViewProviderFemConstraintFixed::setEdit(int ModNum)
if (dlg && !constrDlg) {
// This case will occur in the ShaftWizard application
checkForWizard();
if ((wizardWidget == nullptr) || (wizardSubLayout == nullptr)) {
if (!wizardWidget || !wizardSubLayout) {
// No shaft wizard is running
QMessageBox msgBox;
msgBox.setText(QObject::tr("A dialog is already open in the task panel"));