From d7eccea4c03a75838ff037bde12bfd098fa688f5 Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Tue, 23 Feb 2016 02:22:53 +0100 Subject: [PATCH] Remove obsolete method in SourceTreeView. --- src/tomahawk/sourcetree/SourceTreeView.cpp | 7 ------- src/tomahawk/sourcetree/SourceTreeView.h | 1 - 2 files changed, 8 deletions(-) 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 );