Fix ftbfs for ubuntu 14.04

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5023 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
blacksun
2017-08-22 17:24:51 +00:00
parent fbb07bf2b8
commit fe46dc29a6
4 changed files with 7 additions and 7 deletions

View File

@@ -135,7 +135,7 @@ void DynamicElementTextItem::fromXml(const QDomElement &dom_elmt)
if(m_text_from == ElementInfo)
{
setNoEditable(true);
connect(m_parent_element, &Element::elementInfoChange, this, &DynamicElementTextItem::elementInfoChanged);
connect(m_parent_element.data(), &Element::elementInfoChange, this, &DynamicElementTextItem::elementInfoChanged);
}
else {
setNoEditable(false);