src/gui/kernel/qwidget_qws.cpp
changeset 33 3e2da88830cd
parent 18 2f34d5167611
--- a/src/gui/kernel/qwidget_qws.cpp	Tue Jul 06 15:10:48 2010 +0300
+++ b/src/gui/kernel/qwidget_qws.cpp	Wed Aug 18 10:37:55 2010 +0300
@@ -256,7 +256,7 @@
 void QWidget::destroy(bool destroyWindow, bool destroySubWindows)
 {
     Q_D(QWidget);
-
+    d->aboutToDestroy();
     if (!isWindow() && parentWidget())
         parentWidget()->d_func()->invalidateBuffer(d->effectiveRectFor(geometry()));