show tag service object name in the Options column

This commit is contained in:
Vadim Kurland
2011-05-02 13:39:14 -07:00
parent 4e6b10cbc9
commit 7feb2f4731
+2 -2
View File
@@ -1457,9 +1457,9 @@ QStringList PolicyModel::getRuleOptions(Rule* r) const
if (policyRule->getTagging())
{
FWObject *tobj = PolicyRule::cast(policyRule)->getTagObject();
res << tr("Tag %1").arg(
QString::fromUtf8(
PolicyRule::cast(policyRule)->getTagValue().c_str()));
QString::fromUtf8(tobj->getName().c_str()));
}
if (policyRule->getClassification())