diff --git a/src/libtomahawk/playlist/GridItemDelegate.h b/src/libtomahawk/playlist/GridItemDelegate.h index 1666769e7..6b48e3a19 100644 --- a/src/libtomahawk/playlist/GridItemDelegate.h +++ b/src/libtomahawk/playlist/GridItemDelegate.h @@ -43,7 +43,7 @@ class DLLEXPORT GridItemDelegate : public QStyledItemDelegate Q_OBJECT public: - GridItemDelegate( QAbstractItemView* parent = 0, PlayableProxyModel* proxy = 0 ); + GridItemDelegate( QAbstractItemView* parent, PlayableProxyModel* proxy ); QSize itemSize() const { return m_itemSize; } void setItemSize( const QSize& size ) { m_itemSize = size; } diff --git a/src/libtomahawk/playlist/PlaylistLargeItemDelegate.h b/src/libtomahawk/playlist/PlaylistLargeItemDelegate.h index a5c24d8e1..2812225c8 100644 --- a/src/libtomahawk/playlist/PlaylistLargeItemDelegate.h +++ b/src/libtomahawk/playlist/PlaylistLargeItemDelegate.h @@ -43,10 +43,10 @@ public: enum DisplayMode { LovedTracks, RecentlyPlayed, LatestAdditions, Inbox }; - PlaylistLargeItemDelegate( DisplayMode mode, TrackView* parent = 0, PlayableProxyModel* proxy = 0 ); + PlaylistLargeItemDelegate( DisplayMode mode, TrackView* parent, PlayableProxyModel* proxy ); virtual QSize sizeHint( const QStyleOptionViewItem& option, const QModelIndex& index ) const; - + protected: void paint( QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index ) const;