1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-01-17 14:28:24 +01:00

Remove unused Fontmetrics

This commit is contained in:
Uwe L. Korn 2014-10-27 21:31:26 +01:00
parent 3ee20385e3
commit 456bd2aaa1

View File

@ -114,7 +114,6 @@ AccountDelegate::paint ( QPainter* painter, const QStyleOptionViewItem& option,
QFont titleFont = opt.font;
titleFont.setBold( true );
titleFont.setPointSize( titleFont.pointSize() + 2 );
const QFontMetrics titleMetrics( titleFont );
QFont authorFont = opt.font;
authorFont.setItalic( true );
@ -126,7 +125,6 @@ AccountDelegate::paint ( QPainter* painter, const QStyleOptionViewItem& option,
QFont descFont = authorFont;
descFont.setItalic( false );
const QFontMetrics descMetrics( descFont );
QFont installFont = opt.font;
installFont.setPointSize( installFont.pointSize() - 1 );