Replace emit with Q_EMIT
This commit is contained in:
@@ -178,13 +178,13 @@ void TidalFavoriteRequest::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;
|
||||
}
|
||||
|
||||
@@ -286,13 +286,13 @@ void TidalFavoriteRequest::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