1
0
mirror of https://github.com/fwbuilder/fwbuilder synced 2026-05-03 07:37:29 +02:00

fix: Rewrite boolean expression

This commit is contained in:
Sirius Bakke 2016-05-23 16:33:18 +02:00
parent d338d9690b
commit b3857e2512
No known key found for this signature in database
GPG Key ID: 8B178E31C48CF176

View File

@ -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;