- 
    Bug 
- 
    Resolution: Done
- 
    P2: Important 
- 
    5.3.2
- 
    Win 7, Linux, OS X
- 
        37f326297d45564298a2c8cb1958a81b858de57c
Adding QLabel to QHBoxLayout with certain AlignmentFlags(at least AlignLeft, AlignRight and AlignHCenter) and calling QLabel::setText("") doesn't cause repainting and the old text stays on the label.
Steps:
-Build and run the example app
-Press "Set some text" button => "Some text" will appears on both labels
-Press "Set empty text" button
Actual result:
-Only the above label is empty
Expected result:
-Both labels are empty
Note: 
-Both labels are empty after resizing the window
- resulted in
- 
                    QTBUG-48321 [REG 5.4.x -> 5.5.x] Video playback partially broken with Qt5 interface for VLC -         
- Closed
 
-         
| For Gerrit Dashboard: QTBUG-42727 | ||||||
|---|---|---|---|---|---|---|
| # | Subject | Branch | Project | Status | CR | V | 
| 108203,2 | QtWidgets: don't set Qt::WA_OutsideWSRange for 0-sized non-windows | 5.5 | qt/qtbase | Status: MERGED | +2 | 0 |