1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-09 23:57:34 +02:00

* One pixel more space for WelcomeWidget's figures.

This commit is contained in:
Christian Muehlhaeuser
2012-06-06 16:45:03 +02:00
parent 447536958e
commit 6d48ffc298

View File

@@ -241,7 +241,7 @@ PlaylistDelegate::paint( QPainter* painter, const QStyleOptionViewItem& option,
// right edge 10px past right edge of pixmapRect // right edge 10px past right edge of pixmapRect
// bottom edge flush with bottom of pixmap // bottom edge flush with bottom of pixmap
QRect rect( pixmapRect.right() - width , 0, width - 8, 0 ); QRect rect( pixmapRect.right() - width , 0, width - 8, 0 );
rect.adjust( -1, 0, 0, 0 ); rect.adjust( -2, 0, 0, 0 );
rect.setTop( pixmapRect.bottom() - painter->fontMetrics().height() - 1 ); rect.setTop( pixmapRect.bottom() - painter->fontMetrics().height() - 1 );
rect.setBottom( pixmapRect.bottom() + 1 ); rect.setBottom( pixmapRect.bottom() + 1 );