1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-04-19 23:41:51 +02:00

* Compiler warnings in item-delegates.

This commit is contained in:
Christian Muehlhaeuser 2014-09-01 02:32:46 +02:00
parent bc87d1c002
commit 952f1a388b
2 changed files with 2 additions and 1 deletions

View File

@ -523,7 +523,7 @@ PlaylistItemDelegate::drawSourceIcon( QPainter* painter, const QRect& rect, Play
QRect
PlaylistItemDelegate::drawSource( QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index, const QRect& rect, PlayableItem* item ) const
PlaylistItemDelegate::drawSource( QPainter* painter, const QStyleOptionViewItem& /* option */, const QModelIndex& /* index */, const QRect& rect, PlayableItem* item ) const
{
painter->save();
painter->setRenderHint( QPainter::TextAntialiasing );

View File

@ -108,6 +108,7 @@ TrackItemDelegate::paint( QPainter* painter, const QStyleOptionViewItem& option,
if ( item->query() )
{
//FIXME
bool isUnlistened = true;
if ( m_mode == Inbox )
{