1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-19 23:39:42 +01:00

* Fixed not being able to collapse History item in the sidebar.

This commit is contained in:
Christian Muehlhaeuser 2012-01-02 14:14:14 +01:00
parent f1fb4a2ed8
commit 5f0200b151
2 changed files with 0 additions and 14 deletions

View File

@ -33,7 +33,6 @@ using namespace Tomahawk;
HistoryItem::HistoryItem( SourcesModel* model, SourceTreeItem* parent, const QString& text, int peerSortValue )
: GroupItem( model, parent, text, peerSortValue )
{
connect( this, SIGNAL( toggleExpandRequest( SourceTreeItem* ) ), model, SLOT( itemToggleExpandRequest( SourceTreeItem* ) ) );
connect( ViewManager::instance(), SIGNAL( tempPageActivated( Tomahawk::ViewPage* ) ), SLOT( tempPageActivated( Tomahawk::ViewPage* ) ) );
}
@ -43,13 +42,6 @@ HistoryItem::~HistoryItem()
}
void
HistoryItem::activate()
{
emit toggleExpandRequest( this );
}
void
HistoryItem::tempPageActivated( Tomahawk::ViewPage* v )
{

View File

@ -38,12 +38,6 @@ public:
HistoryItem( SourcesModel* model, SourceTreeItem* parent, const QString& text, int peerSortValue = 0 );
virtual ~HistoryItem();
public slots:
virtual void activate();
signals:
void activated();
private slots:
void tempPageActivated( Tomahawk::ViewPage* );
void temporaryPageDestroyed();