mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-01 03:40:16 +02:00
* Fixed not being able to collapse History item in the sidebar.
This commit is contained in:
@@ -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 )
|
||||
{
|
||||
|
@@ -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();
|
||||
|
Reference in New Issue
Block a user