mirror of
https://github.com/fwbuilder/fwbuilder
synced 2026-03-19 09:47:20 +01:00
see #2037 I should get the list of firewalls that were compiled from compile_fw_list instead of install_fw_list because when I compile a cluster, its members appear in install_fw_list but they do not appear in compile_status
This commit is contained in:
parent
ecdaa6f486
commit
0fb6031022
@ -465,7 +465,7 @@ void instDialog::showPage(const int page)
|
||||
// least one firewall that was successfully compiled.
|
||||
bool can_install = false;
|
||||
list<Firewall*>::iterator i;
|
||||
for(i=install_fw_list.begin(); i!=install_fw_list.end(); ++i)
|
||||
for(i=compile_fw_list.begin(); i!=compile_fw_list.end(); ++i)
|
||||
{
|
||||
Firewall *fw = *i;
|
||||
if (compile_status[fw] ==
|
||||
|
||||
@ -359,6 +359,9 @@ void instDialog::setInProcessState(QTreeWidgetItem *item)
|
||||
|
||||
void instDialog::opSuccess(Firewall *fw)
|
||||
{
|
||||
if (fwbdebug)
|
||||
qDebug() << "instDialog::opSuccess fw=" << fw->getName().c_str();
|
||||
|
||||
compile_status[fw] = fwcompiler::BaseCompiler::FWCOMPILER_SUCCESS;
|
||||
QTreeWidgetItem* itm = opListMapping[(fw)->getId()];
|
||||
if (itm)
|
||||
@ -374,6 +377,9 @@ void instDialog::opSuccess(Firewall *fw)
|
||||
|
||||
void instDialog::opError(Firewall *fw)
|
||||
{
|
||||
if (fwbdebug)
|
||||
qDebug() << "instDialog::opError fw=" << fw->getName().c_str();
|
||||
|
||||
compile_status[fw] = fwcompiler::BaseCompiler::FWCOMPILER_ERROR;
|
||||
QTreeWidgetItem* itm = opListMapping[(fw)->getId()];
|
||||
if (itm)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user