qt4-fixes
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@130 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -171,7 +171,11 @@ void pluginDescWidget::paintEvent( QPaintEvent * )
|
||||
QImage::ScaleMin ) );
|
||||
#endif
|
||||
p.setPen( QColor( 64, 64, 64 ) );
|
||||
#ifndef QT3
|
||||
p.drawRect( 0, 0, rect().right(), rect().bottom() );
|
||||
#else
|
||||
p.drawRect( rect() );
|
||||
#endif
|
||||
p.drawPixmap( 4, 4, logo );
|
||||
|
||||
QFont f = pointSize<8>( p.font() );
|
||||
|
||||
@@ -181,7 +181,11 @@ void bbTCO::paintEvent( QPaintEvent * )
|
||||
}
|
||||
|
||||
p.setPen( col.dark() );
|
||||
#ifndef QT3
|
||||
p.drawRect( 0, 0, rect().right(), rect().bottom() );
|
||||
#else
|
||||
p.drawRect( rect() );
|
||||
#endif
|
||||
|
||||
p.setFont( pointSize<7>( p.font() ) );
|
||||
p.setPen( QColor( 0, 0, 0 ) );
|
||||
|
||||
Reference in New Issue
Block a user