mirror of
https://github.com/fwbuilder/fwbuilder
synced 2026-09-11 23:53:59 +02:00
added debug print for bug 2655
This commit is contained in:
@@ -349,8 +349,6 @@ loop:
|
|||||||
|
|
||||||
++treeSeeker;
|
++treeSeeker;
|
||||||
|
|
||||||
showObject(o);
|
|
||||||
|
|
||||||
if (fwbdebug)
|
if (fwbdebug)
|
||||||
{
|
{
|
||||||
qDebug("Found object: o=%p id=%s name=%s type=%s",
|
qDebug("Found object: o=%p id=%s name=%s type=%s",
|
||||||
@@ -358,6 +356,7 @@ loop:
|
|||||||
FWObjectDatabase::getStringId(o->getId()).c_str(),
|
FWObjectDatabase::getStringId(o->getId()).c_str(),
|
||||||
o->getName().c_str(),o->getTypeName().c_str());
|
o->getName().c_str(),o->getTypeName().c_str());
|
||||||
}
|
}
|
||||||
|
showObject(o);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool FindObjectWidget::validateReplaceObject()
|
bool FindObjectWidget::validateReplaceObject()
|
||||||
|
|||||||
@@ -610,6 +610,13 @@ void ProjectPanel::ensureObjectVisibleInRules(FWReference *obj)
|
|||||||
while (p && RuleSet::cast(p)==NULL ) p=p->getParent();
|
while (p && RuleSet::cast(p)==NULL ) p=p->getParent();
|
||||||
if (p==NULL) return; // something is broken
|
if (p==NULL) return; // something is broken
|
||||||
|
|
||||||
|
if (fwbdebug)
|
||||||
|
qDebug("ProjectPanel::ensureObjectVisibleInRules: "
|
||||||
|
"RuleSet p=%p id=%s name=%s type=%s",
|
||||||
|
p,
|
||||||
|
FWObjectDatabase::getStringId(p->getId()).c_str(),
|
||||||
|
p->getName().c_str(), p->getTypeName().c_str());
|
||||||
|
|
||||||
RuleSetView *rsv = ruleSetViews[p];
|
RuleSetView *rsv = ruleSetViews[p];
|
||||||
|
|
||||||
if (rsv==NULL)
|
if (rsv==NULL)
|
||||||
|
|||||||
Reference in New Issue
Block a user