~zsombi/ubuntu-ui-toolkit/list_item_focus

« back to all changes in this revision

Viewing changes to src/Ubuntu/Components/plugin/ucpagetreenode.cpp

  • Committer: Zsombor Egri
  • Date: 2016-02-24 06:45:27 UTC
  • mfrom: (1760.1.104 staging)
  • Revision ID: zsombor.egri@canonical.com-20160224064527-l3leojj8j6i5jylb
staging sync

Show diffs side-by-side

added added

removed removed

Lines of Context:
428
428
 
429
429
    //disconnect from the old parent, we do not want to get
430
430
    //false property updates
431
 
    if (d->m_parentNode) {
 
431
    if (d->m_parentNode && !QQmlData::wasDeleted(d->m_parentNode)) {
432
432
        if (!(d->m_flags & UCPageTreeNodePrivate::CustomActive)) {
433
433
            disconnect(d->m_parentNode, SIGNAL(activeChanged(bool)),
434
434
                       this, SLOT(_q_activeBinding(bool)));