Fixed removing detail.
--HG-- branch : develop
This commit is contained in:
parent
ee11cc2e93
commit
c51e13a8bf
|
@ -1375,6 +1375,8 @@ void VDomDocument::DecrementReferens(qint64 id) const
|
||||||
{
|
{
|
||||||
Q_ASSERT_X(id > 0, Q_FUNC_INFO, "id <= 0");
|
Q_ASSERT_X(id > 0, Q_FUNC_INFO, "id <= 0");
|
||||||
VDataTool *tool = tools.value(id);
|
VDataTool *tool = tools.value(id);
|
||||||
Q_ASSERT(tool != 0);
|
if(tool != 0)
|
||||||
tool->decrementReferens();
|
{
|
||||||
|
tool->decrementReferens();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user