mirror of
https://github.com/fwbuilder/fwbuilder
synced 2026-05-10 19:14:57 +02:00
fix: Rewrite boolean expression
This commit is contained in:
@@ -558,7 +558,7 @@ FWObject* ObjectManipulator::newCluster(QUndoCommand* macro, bool fromSelected)
|
||||
fwvector.push_back(FWObject::cast(fw));
|
||||
ncd->setFirewallList(fwvector);
|
||||
}
|
||||
if ( ! ncd->exec() == QDialog::Accepted) return NULL;
|
||||
if ( ncd->exec() != QDialog::Accepted) return NULL;
|
||||
|
||||
FWObject *ncl = ncd->getNewCluster();
|
||||
delete ncd;
|
||||
|
||||
Reference in New Issue
Block a user