Replace emit with Q_EMIT

This commit is contained in:
Jonas Kvinge
2024-08-25 01:06:30 +02:00
parent cb0db8750f
commit 8da616491d
158 changed files with 891 additions and 891 deletions

View File

@@ -143,7 +143,7 @@ void CddaSongLoader::LoadSongs() {
song.set_track(track_number);
songs << song;
}
emit SongsLoaded(songs);
Q_EMIT SongsLoaded(songs);
gst_tag_register_musicbrainz_tags();
@@ -189,7 +189,7 @@ void CddaSongLoader::LoadSongs() {
}
gst_message_unref(msg_toc);
}
emit SongsDurationLoaded(songs);
Q_EMIT SongsDurationLoaded(songs);
#ifdef HAVE_MUSICBRAINZ
// Handle TAG message: generate MusicBrainz DiscId
@@ -241,7 +241,7 @@ void CddaSongLoader::AudioCDTagsLoaded(const QString &artist, const QString &alb
song.set_url(GetUrlFromTrack(track_number++));
songs << song;
}
emit SongsMetadataLoaded(songs);
Q_EMIT SongsMetadataLoaded(songs);
}
#endif
@@ -264,6 +264,6 @@ bool CddaSongLoader::HasChanged() {
void CddaSongLoader::Error(const QString &error) {
qLog(Error) << error;
emit SongsDurationLoaded(SongList(), error);
Q_EMIT SongsDurationLoaded(SongList(), error);
}