mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-23 17:29:42 +01:00
* Removed obsolete code from TreeItemDelegate.
This commit is contained in:
parent
d126ba3ac5
commit
aa90cd1b88
@ -34,7 +34,6 @@
|
||||
|
||||
#include "PlayableItem.h"
|
||||
#include "TreeProxyModel.h"
|
||||
#include "Source.h"
|
||||
#include "TreeView.h"
|
||||
|
||||
|
||||
@ -46,14 +45,6 @@ TreeItemDelegate::TreeItemDelegate( TreeView* parent, TreeProxyModel* proxy )
|
||||
}
|
||||
|
||||
|
||||
QSize
|
||||
TreeItemDelegate::sizeHint( const QStyleOptionViewItem& option, const QModelIndex& index ) const
|
||||
{
|
||||
QSize size = QStyledItemDelegate::sizeHint( option, index );
|
||||
return size;
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
TreeItemDelegate::paint( QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index ) const
|
||||
{
|
||||
|
@ -40,9 +40,6 @@ public:
|
||||
|
||||
protected:
|
||||
void paint( QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index ) const;
|
||||
QSize sizeHint( const QStyleOptionViewItem& option, const QModelIndex& index ) const;
|
||||
|
||||
// QWidget* createEditor( QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index ) const;
|
||||
|
||||
signals:
|
||||
void updateIndex( const QModelIndex& idx );
|
||||
|
Loading…
x
Reference in New Issue
Block a user