Skip to content

Commit 5f0200b

Browse files
committed
* Fixed not being able to collapse History item in the sidebar.
1 parent f1fb4a2 commit 5f0200b

File tree

2 files changed

+0
-14
lines changed

2 files changed

+0
-14
lines changed

src/sourcetree/items/historyitem.cpp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ using namespace Tomahawk;
3333
HistoryItem::HistoryItem( SourcesModel* model, SourceTreeItem* parent, const QString& text, int peerSortValue )
3434
: GroupItem( model, parent, text, peerSortValue )
3535
{
36-
connect( this, SIGNAL( toggleExpandRequest( SourceTreeItem* ) ), model, SLOT( itemToggleExpandRequest( SourceTreeItem* ) ) );
3736
connect( ViewManager::instance(), SIGNAL( tempPageActivated( Tomahawk::ViewPage* ) ), SLOT( tempPageActivated( Tomahawk::ViewPage* ) ) );
3837
}
3938

@@ -43,13 +42,6 @@ HistoryItem::~HistoryItem()
4342
}
4443

4544

46-
void
47-
HistoryItem::activate()
48-
{
49-
emit toggleExpandRequest( this );
50-
}
51-
52-
5345
void
5446
HistoryItem::tempPageActivated( Tomahawk::ViewPage* v )
5547
{

src/sourcetree/items/historyitem.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,6 @@ class HistoryItem : public GroupItem
3838
HistoryItem( SourcesModel* model, SourceTreeItem* parent, const QString& text, int peerSortValue = 0 );
3939
virtual ~HistoryItem();
4040

41-
public slots:
42-
virtual void activate();
43-
44-
signals:
45-
void activated();
46-
4741
private slots:
4842
void tempPageActivated( Tomahawk::ViewPage* );
4943
void temporaryPageDestroyed();

0 commit comments

Comments
 (0)