mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-15 10:48:33 +01:00
Fix annoying disconnect() messages.
This commit is contained in:
parent
3fe0213106
commit
a4b1452a22
@ -678,7 +678,7 @@ void MainWindow::NewPlaylist(const QString& title) {
|
||||
|
||||
void MainWindow::SetCurrentPlaylist(PlaylistView* current) {
|
||||
// Disconnect current playlist and tab.
|
||||
if (current) {
|
||||
if (current_playlist_) {
|
||||
disconnect(current_playlist_, SIGNAL(CurrentSongChanged(Song)), osd_, SLOT(SongChanged(Song)));
|
||||
disconnect(current_playlist_view_, SIGNAL(doubleClicked(QModelIndex)),
|
||||
this, SLOT(PlayIndex(QModelIndex)));
|
||||
|
Loading…
Reference in New Issue
Block a user