Changeset 808 for trunk/src/gui/kernel/qwidget_pm.cpp
- Timestamp:
- Oct 27, 2010, 6:11:22 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gui/kernel/qwidget_pm.cpp
r807 r808 1390 1390 if (destroyWindow && !(windowType() == Qt::Desktop) && 1391 1391 d->frameWinId() != NULLHANDLE) { 1392 // make sure the backing store is deleted before destroying HWND -- 1393 // QPMDiveWindowSurface depends on that 1394 delete d->topData()->backingStore; 1395 d->topData()->backingStore = 0; 1396 // now destroy HWND 1392 // destroy HWND 1397 1393 HWND id = d->frameWinId(); 1398 1394 #if defined(QT_DEBUGWINCREATEDESTROY) … … 1470 1466 1471 1467 if (old_fid != NULLHANDLE && q->windowType() != Qt::Desktop) { 1472 // make sure the backing store is deleted before destroying HWND -- 1473 // QPMDiveWindowSurface depends on that 1474 if (extra && extra->topextra) { 1475 delete extra->topextra->backingStore; 1476 extra->topextra->backingStore = 0; 1477 // zero the to-be-destroyed frame HWND just in case 1478 extra->topextra->fId = NULLHANDLE; 1479 } 1480 // now destroy HWND 1468 // destroy HWND 1481 1469 qt_WinDestroyWindow(old_fid); 1482 1470 }
Note:
See TracChangeset
for help on using the changeset viewer.