From 42fb4ca88acec54058f2ab0768949a2952fd844b Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Fri, 17 Oct 2014 19:20:05 +0200 Subject: [PATCH] More vertical space for sources. Looks nicer on Yosemite. --- src/tomahawk/sourcetree/SourceDelegate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tomahawk/sourcetree/SourceDelegate.cpp b/src/tomahawk/sourcetree/SourceDelegate.cpp index ad2605a56..db5d797a4 100644 --- a/src/tomahawk/sourcetree/SourceDelegate.cpp +++ b/src/tomahawk/sourcetree/SourceDelegate.cpp @@ -79,7 +79,7 @@ SourceDelegate::sizeHint( const QStyleOptionViewItem& option, const QModelIndex& if ( type == SourcesModel::Source || type == SourcesModel::ScriptCollection ) { SourceItem* colItem = qobject_cast< SourceItem* >( item ); - return QSize( option.rect.width(), ( colItem && colItem->source() && colItem->source()->isLocal() ) ? 0 : option.fontMetrics.height() * 3.0 ); + return QSize( option.rect.width(), ( colItem && colItem->source() && colItem->source()->isLocal() ) ? 0 : option.fontMetrics.height() * 3.2 ); } else if ( type == SourcesModel::Divider ) {