Replace emit with Q_EMIT
This commit is contained in:
@@ -167,13 +167,13 @@ void QobuzFavoriteRequest::AddFavoritesReply(QNetworkReply *reply, const Favorit
|
||||
|
||||
switch (type) {
|
||||
case FavoriteType::Artists:
|
||||
emit ArtistsAdded(songs);
|
||||
Q_EMIT ArtistsAdded(songs);
|
||||
break;
|
||||
case FavoriteType::Albums:
|
||||
emit AlbumsAdded(songs);
|
||||
Q_EMIT AlbumsAdded(songs);
|
||||
break;
|
||||
case FavoriteType::Songs:
|
||||
emit SongsAdded(songs);
|
||||
Q_EMIT SongsAdded(songs);
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -261,13 +261,13 @@ void QobuzFavoriteRequest::RemoveFavoritesReply(QNetworkReply *reply, const Favo
|
||||
|
||||
switch (type) {
|
||||
case FavoriteType::Artists:
|
||||
emit ArtistsRemoved(songs);
|
||||
Q_EMIT ArtistsRemoved(songs);
|
||||
break;
|
||||
case FavoriteType::Albums:
|
||||
emit AlbumsRemoved(songs);
|
||||
Q_EMIT AlbumsRemoved(songs);
|
||||
break;
|
||||
case FavoriteType::Songs:
|
||||
emit SongsRemoved(songs);
|
||||
Q_EMIT SongsRemoved(songs);
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user