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:
Tobias Doerffel
2009-07-07 21:16:41 +02:00
parent d6a451bdf5
commit 1015868e1f

View File

@@ -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 );
}