1
0
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:
Christian Muehlhaeuser 2012-11-12 11:45:12 +01:00
parent d126ba3ac5
commit aa90cd1b88
2 changed files with 0 additions and 12 deletions

View File

@ -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
{

View File

@ -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 );