1
0
mirror of https://github.com/clementine-player/Clementine synced 2025-01-16 03:31:02 +01:00

Also update song count when tags are loaded: I don't know why but there not updated in Init

This commit is contained in:
Arnaud Bienner 2012-11-18 22:14:06 +01:00
parent ba743ee64f
commit e9c98733b3

View File

@ -127,7 +127,6 @@ void CddaDevice::Init() {
gst_object_unref(GST_OBJECT(pipe));
gst_object_unref(GST_OBJECT(msg));
gst_tag_list_free(tags);
}
void CddaDevice::AudioCDTagsLoaded(const QString& artist, const QString& album,
@ -154,6 +153,7 @@ void CddaDevice::AudioCDTagsLoaded(const QString& artist, const QString& album,
}
connect(this, SIGNAL(SongsDiscovered(const SongList&)), model_, SLOT(SongsDiscovered(const SongList&)));
emit SongsDiscovered(songs);
song_count_ = songs.size();
}
void CddaDevice::Refresh() {