mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 14:16:32 +02:00
* Remove compiler warning.
This commit is contained in:
@@ -81,6 +81,8 @@ PlaylistLargeItemDelegate::sizeHint( const QStyleOptionViewItem& option, const Q
|
|||||||
void
|
void
|
||||||
PlaylistLargeItemDelegate::drawRichText( QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect, int flags, QTextDocument& text ) const
|
PlaylistLargeItemDelegate::drawRichText( QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect, int flags, QTextDocument& text ) const
|
||||||
{
|
{
|
||||||
|
Q_UNUSED( option );
|
||||||
|
|
||||||
text.setPageSize( QSize( rect.width(), QWIDGETSIZE_MAX ) );
|
text.setPageSize( QSize( rect.width(), QWIDGETSIZE_MAX ) );
|
||||||
QAbstractTextDocumentLayout* layout = text.documentLayout();
|
QAbstractTextDocumentLayout* layout = text.documentLayout();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user