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:
Tobias Doerffel
2006-04-11 09:23:34 +00:00
parent 2403967c9f
commit 9faabaaf0d
2 changed files with 8 additions and 0 deletions

View File

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

View File

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