src/gui/kernel/qwidgetaction.cpp
changeset 3 41300fa6a67c
parent 0 1918ee327afb
child 4 3b1da2848fc7
equal deleted inserted replaced
2:56cd8111b7f7 3:41300fa6a67c
   210     }
   210     }
   211 
   211 
   212     if (!d->createdWidgets.contains(widget))
   212     if (!d->createdWidgets.contains(widget))
   213         return;
   213         return;
   214 
   214 
   215     disconnect(widget, SIGNAL(destroyed(QObject *)),
   215     disconnect(widget, SIGNAL(destroyed(QObject*)),
   216                this, SLOT(_q_widgetDestroyed(QObject *)));
   216                this, SLOT(_q_widgetDestroyed(QObject*)));
   217     d->createdWidgets.removeAll(widget);
   217     d->createdWidgets.removeAll(widget);
   218     deleteWidget(widget);
   218     deleteWidget(widget);
   219 }
   219 }
   220 
   220 
   221 /*!
   221 /*!