Ignore:
Timestamp:
Feb 25, 2006, 9:58:01 PM (19 years ago)
Author:
dmik
Message:

Fixed QWidget::erase() broken by changeset:61.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel/qpainter_pm.cpp

    r62 r63  
    539539        } else {
    540540            hps = w->getTargetPS ( unclipped ? QWidget::Unclipped :
    541                                                QWidget::ClipAll );
     541                                               QWidget::ClipDefault );
    542542            w->hps = hps;
    543543        }
     
    931931//      }
    932932#endif
     933        // clip region in GPI cannot be used for anything else, so detach it
     934        cur_crgn.detach();
    933935    } else {
    934936        cur_crgn = def_crgn;
    935937    }
    936938
    937     // clip region in GPI cannot be used for anything else, so detach it
    938     cur_crgn.detach();
    939    
    940939    if ( !cur_crgn.isNull() )
    941940        GpiSetClipRegion( hps, cur_crgn.handle( devh ), NULL );
Note: See TracChangeset for help on using the changeset viewer.