diff --git a/src/tomahawk/sourcetree/SourceTreeView.cpp b/src/tomahawk/sourcetree/SourceTreeView.cpp index b4ca33c98..cdca4619c 100644 --- a/src/tomahawk/sourcetree/SourceTreeView.cpp +++ b/src/tomahawk/sourcetree/SourceTreeView.cpp @@ -969,13 +969,6 @@ SourceTreeView::paintEvent( QPaintEvent* event ) } -void -SourceTreeView::drawRow( QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index ) const -{ - QTreeView::drawRow( painter, option, index ); -} - - void SourceTreeView::drawBranches( QPainter* /* painter */, const QRect& /* rect */, const QModelIndex& /* index */ ) const { diff --git a/src/tomahawk/sourcetree/SourceTreeView.h b/src/tomahawk/sourcetree/SourceTreeView.h index a271cdbb2..529dbc221 100644 --- a/src/tomahawk/sourcetree/SourceTreeView.h +++ b/src/tomahawk/sourcetree/SourceTreeView.h @@ -92,7 +92,6 @@ private slots: void onPlaylistLinkReady( const QVariantMap& data ); protected: - void drawRow( QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index ) const; void drawBranches( QPainter *painter, const QRect &rect, const QModelIndex &index ) const; virtual void paintEvent( QPaintEvent* event );