mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-01-29 20:49:52 +01:00
Merge branch 'master' into dynamic
This commit is contained in:
commit
3d677183f1
@ -107,6 +107,7 @@ SourceTreeView::setupMenus()
|
||||
m_deletePlaylistAction->setEnabled( !readonly );
|
||||
}
|
||||
|
||||
connect( m_renamePlaylistAction, SIGNAL( triggered() ), SLOT( renamePlaylist() ) );
|
||||
connect( m_loadPlaylistAction, SIGNAL( triggered() ), SLOT( loadPlaylist() ) );
|
||||
connect( m_deletePlaylistAction, SIGNAL( triggered() ), SLOT( deletePlaylist() ) );
|
||||
}
|
||||
@ -205,6 +206,11 @@ SourceTreeView::deletePlaylist()
|
||||
}
|
||||
}
|
||||
|
||||
void SourceTreeView::renamePlaylist()
|
||||
{
|
||||
edit( m_contextMenuIndex );
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
SourceTreeView::onCustomContextMenu( const QPoint& pos )
|
||||
|
@ -27,7 +27,8 @@ private slots:
|
||||
|
||||
void loadPlaylist();
|
||||
void deletePlaylist();
|
||||
|
||||
void renamePlaylist();
|
||||
|
||||
void onCustomContextMenu( const QPoint& pos );
|
||||
void onSourceOffline( Tomahawk::source_ptr );
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user