Changeset 105
- Timestamp:
- Jul 27, 2006, 7:22:05 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/widgets/qdockwindow.cpp
r8 r105 398 398 void QDockWindowHandle::paintEvent( QPaintEvent *e ) 399 399 { 400 #if defined (Q_WS_PM) 401 // This widget has the WNoAutoErase flag, so we must erase the background 402 // even if we don't paint anything else. Win32 version feels ok without this, 403 // because it doesn't actually fully obey WResizeNoErase and WRepaintNoErase: 404 // WM_ERASEBKGND always erases the background before WM_PAINT and after 405 // every resize. 406 erase(); 407 #endif 400 408 if ( (!dockWindow->dockArea || mousePressed) && !opaque ) 401 409 return; 410 #if !defined (Q_WS_PM) 402 411 erase(); 412 #endif 403 413 QPainter p( this ); 404 414 QStyle::SFlags flags = QStyle::Style_Default;
Note:
See TracChangeset
for help on using the changeset viewer.