- Timestamp:
- Aug 20, 2011, 10:07:07 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gui/kernel/qwidget_pm.cpp
r1013 r1016 1512 1512 } 1513 1513 1514 if (old_fid != NULLHANDLE && q->windowType() != Qt::Desktop) { 1515 // destroy HWND 1516 #if defined(QT_DEBUGWINCREATEDESTROY) 1517 qDebug() << "|Destroying window" << q 1518 << "\n| hwnd" << qDebugFmtHex(old_fid); 1519 if (old_fid != data.winid) 1520 qDebug() << "| hwnd" << qDebugFmtHex(data.winid) << "(client)"; 1521 #endif 1522 qt_WinDestroyWindow(old_fid); 1523 } 1524 1525 QTLWExtra *top = maybeTopData(); 1526 if (top) 1527 top->fId = 0; 1514 if ((q->windowType() == Qt::Desktop)) 1515 old_fid = 0; 1516 1517 if (extra && extra->topextra) 1518 extra->topextra->fId = 0; 1528 1519 setWinId(0); 1529 1520 … … 1557 1548 setWindowIcon_sys(true); 1558 1549 setWindowTitle_helper(extra->topextra->caption); 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1559 1560 } 1560 1561
Note:
See TracChangeset
for help on using the changeset viewer.