mirror of
https://github.com/fwbuilder/fwbuilder
synced 2026-03-21 02:37:16 +01:00
* ObjectTreeViewItem.cpp (ObjectTreeViewItem::data): fixed #1398
bold font and "*" in the tree indicate firewalls that require installation but should indicate those that require recompile
This commit is contained in:
parent
215186707d
commit
0417a1ba52
@ -1,3 +1,9 @@
|
||||
2010-04-09 vadim <vadim@vk.crocodile.org>
|
||||
|
||||
* ObjectTreeViewItem.cpp (ObjectTreeViewItem::data): fixed #1398
|
||||
bold font and "*" in the tree indicate firewalls that require
|
||||
installation but should indicate those that require recompile
|
||||
|
||||
2010-04-08 Vadim Kurland <vadim@vk.crocodile.org>
|
||||
|
||||
* interfacePropertiesObjectFactory.cpp: fixed #1396, SF bug 2984193
|
||||
|
||||
@ -130,7 +130,7 @@ QString FWObjectPropertiesFactory::getObjectPropertiesBrief(FWObject *obj)
|
||||
str << ar->getRangeEnd().toString().c_str();
|
||||
} else if (Firewall::cast(obj))
|
||||
{
|
||||
if (Firewall::cast(obj)->needsInstall()) str << " * ";
|
||||
if (Firewall::cast(obj)->needsCompile()) str << " * ";
|
||||
QString platform = obj->getStr("platform").c_str();
|
||||
QString version = obj->getStr("version").c_str();
|
||||
QString readableVersion = getVersionString(platform,version);
|
||||
|
||||
@ -66,7 +66,7 @@ QVariant ObjectTreeViewItem::data(int column, int role) const
|
||||
|
||||
if (o!=NULL)
|
||||
{
|
||||
bool mf = !o->getInactive() && (o->needsInstall()) ;
|
||||
bool mf = !o->getInactive() && (o->needsCompile()) ;
|
||||
usual.setBold (mf);
|
||||
usual.setStrikeOut(o->getInactive());
|
||||
return QVariant(usual);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user