equal
deleted
inserted
replaced
254 |
254 |
255 |
255 |
256 void QWidget::destroy(bool destroyWindow, bool destroySubWindows) |
256 void QWidget::destroy(bool destroyWindow, bool destroySubWindows) |
257 { |
257 { |
258 Q_D(QWidget); |
258 Q_D(QWidget); |
259 |
259 d->aboutToDestroy(); |
260 if (!isWindow() && parentWidget()) |
260 if (!isWindow() && parentWidget()) |
261 parentWidget()->d_func()->invalidateBuffer(d->effectiveRectFor(geometry())); |
261 parentWidget()->d_func()->invalidateBuffer(d->effectiveRectFor(geometry())); |
262 |
262 |
263 d->deactivateWidgetCleanup(); |
263 d->deactivateWidgetCleanup(); |
264 if (testAttribute(Qt::WA_WState_Created)) { |
264 if (testAttribute(Qt::WA_WState_Created)) { |