From 06f1ad6cf88e22592cdcd07a5e233ccd50134fea Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Mon, 12 Nov 2012 11:20:45 +0100 Subject: [PATCH] * Style fix. --- src/libtomahawk/playlist/PlaylistItemDelegate.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/libtomahawk/playlist/PlaylistItemDelegate.cpp b/src/libtomahawk/playlist/PlaylistItemDelegate.cpp index dbae0fd4b..0d20e1c38 100644 --- a/src/libtomahawk/playlist/PlaylistItemDelegate.cpp +++ b/src/libtomahawk/playlist/PlaylistItemDelegate.cpp @@ -72,7 +72,9 @@ PlaylistItemDelegate::sizeHint( const QStyleOptionViewItem& option, const QModel { int rowHeight = option.fontMetrics.height() + 8; size.setHeight( rowHeight * 2 ); - } else if ( style == PlayableProxyModel::Detailed ) { + } + else if ( style == PlayableProxyModel::Detailed ) + { int rowHeight = option.fontMetrics.height() * 1.4; size.setHeight( rowHeight ); }