Changeset 8 for trunk/src/widgets/qlabel.cpp
- Timestamp:
- Nov 16, 2005, 8:36:46 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/widgets/qlabel.cpp
r7 r8 280 280 ( ( textformat == AutoText ) && QStyleSheet::mightBeRichText(ltext) ) ); 281 281 #else 282 bool useRichText = TRUE;282 bool useRichText = FALSE; 283 283 #endif 284 284 #ifndef QT_NO_ACCEL … … 711 711 712 712 if ( x + w < cr.right() ) 713 reg = reg.unite( QRect( x + w, cr.y(), cr.right() - x - w , cr.height() ) );713 reg = reg.unite( QRect( x + w, cr.y(), cr.right() - x - w + 1, cr.height() ) ); 714 714 if ( y + h < cr.bottom() ) 715 reg = reg.unite( QRect( cr.x(), y + h, cr.width(), cr.bottom() - y - h ) );715 reg = reg.unite( QRect( cr.x(), y + h, cr.width(), cr.bottom() - y - h + 1 ) ); 716 716 717 717 erase( reg );
Note:
See TracChangeset
for help on using the changeset viewer.