1
0
mirror of https://github.com/fwbuilder/fwbuilder synced 2026-03-22 19:27:13 +01:00

Fixed problem with utf8 firewall names display

This commit is contained in:
A2K 2010-11-03 21:35:20 +02:00
parent 57f371795d
commit 0f7e277219

View File

@ -378,7 +378,8 @@ void ProjectPanel::updateFirewallName()
// name = "<b>" + name + "</b>";
FWObject *fw = visibleRuleSet->getParent();
name = QString("Currently editing: <b>%1 / %2</b>")
.arg(fw->getName().c_str()).arg(visibleRuleSet->getName().c_str());
.arg(QString::fromUtf8(fw->getName().c_str()))
.arg(QString::fromUtf8(visibleRuleSet->getName().c_str()));
m_panel->rulesetname->setText(name );
}