View | Details | Raw Unified
Collapse All | Expand All

(-)Glan-0.3/Source/Libs/GlanServer/GObject.cpp~ (-1 / +1 lines)
 Lines 75-81   GObject::~GObject() Link Here 
75
75
76
    QObjectList chList=children();
76
    QObjectList chList=children();
77
    for(int i=0; i<chList.count(); i++)
77
    for(int i=0; i<chList.count(); i++)
78
        qobject_cast<GObject*>(chList.at(i))->rdelete==false;
78
        dynamic_cast<GObject*>(chList.at(i))->rdelete==false;
79
79
80
    if(rdelete)
80
    if(rdelete)
81
        deleteObject();
81
        deleteObject();