From 26098db9c843f609e18c01113569af9c89d6dc63 Mon Sep 17 00:00:00 2001 From: David Sansome Date: Sun, 21 Mar 2010 00:30:05 +0000 Subject: [PATCH] Update the length of the first track on a last.fm stream --- src/mainwindow.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index f4e69d3e1..bae4dcfac 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -165,6 +165,7 @@ MainWindow::MainWindow(QNetworkAccessManager* network, QWidget *parent) connect(player_, SIGNAL(Stopped()), osd_, SLOT(Stopped())); connect(player_, SIGNAL(VolumeChanged(int)), osd_, SLOT(VolumeChanged(int))); connect(playlist_, SIGNAL(CurrentSongChanged(Song)), osd_, SLOT(SongChanged(Song))); + connect(playlist_, SIGNAL(CurrentSongChanged(Song)), player_, SLOT(CurrentMetadataChanged(Song))); connect(ui_.playlist, SIGNAL(doubleClicked(QModelIndex)), SLOT(PlayIndex(QModelIndex))); connect(ui_.playlist, SIGNAL(PlayPauseItem(QModelIndex)), SLOT(PlayIndex(QModelIndex)));