mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-13 17:43:59 +02:00
Return type gets its own line
This commit is contained in:
@@ -387,7 +387,8 @@ PlaylistItemDelegate::drawLoveBox( QPainter* painter, const QRect& rect, Playabl
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
QRect PlaylistItemDelegate::drawGenericBox( QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect, const QString& text, const QList< Tomahawk::source_ptr >& sources ) const
|
QRect
|
||||||
|
PlaylistItemDelegate::drawGenericBox( QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect, const QString& text, const QList< Tomahawk::source_ptr >& sources ) const
|
||||||
{
|
{
|
||||||
const int height = rect.height() - 4 * 2;
|
const int height = rect.height() - 4 * 2;
|
||||||
const int width = 2 + rect.height() - 4 * 2;
|
const int width = 2 + rect.height() - 4 * 2;
|
||||||
|
Reference in New Issue
Block a user