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:
parent
ba743ee64f
commit
e9c98733b3
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user