TrackContentWidget: fix graphical glitches with Qt 4.5
Starting with Qt 4.5 there were minor graphical glitches in TrackContentWidget. Fix this by not setting Qt::WA_OpaquePaintEvent attribute. Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
This commit is contained in:
@@ -875,9 +875,6 @@ trackContentWidget::trackContentWidget( trackView * _parent ) :
|
||||
connect( _parent->getTrackContainerView(),
|
||||
SIGNAL( positionChanged( const midiTime & ) ),
|
||||
this, SLOT( changePosition( const midiTime & ) ) );
|
||||
|
||||
setAutoFillBackground( false );
|
||||
setAttribute( Qt::WA_OpaquePaintEvent, true );
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user