diff --git a/src/sourcetree/sourcedelegate.cpp b/src/sourcetree/sourcedelegate.cpp index 1a391536b..d45a17000 100644 --- a/src/sourcetree/sourcedelegate.cpp +++ b/src/sourcetree/sourcedelegate.cpp @@ -515,6 +515,9 @@ SourceDelegate::paint( QPainter* painter, const QStyleOptionViewItem& option, co else { o.state &= ~QStyle::State_MouseOver; + if ( !index.parent().parent().isValid() ) + o.rect.adjust( 7, 0, 0, 0 ); + QStyledItemDelegate::paint( painter, o, index ); if ( type == SourcesModel::TemporaryPage )