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:
parent
f1fb4a2ed8
commit
5f0200b151
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user