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:
parent
bc87d1c002
commit
952f1a388b
@ -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 );
|
||||
|
@ -108,6 +108,7 @@ TrackItemDelegate::paint( QPainter* painter, const QStyleOptionViewItem& option,
|
||||
|
||||
if ( item->query() )
|
||||
{
|
||||
//FIXME
|
||||
bool isUnlistened = true;
|
||||
if ( m_mode == Inbox )
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user