Initialize to 0

This commit is contained in:
Jonas Kvinge
2021-10-30 17:10:05 +02:00
parent 7c87b53517
commit 3efe2d1e05
2 changed files with 2 additions and 2 deletions

View File

@@ -46,7 +46,7 @@ class AlbumCoverFetcherSearch;
// This class represents a single search-for-cover request. It identifies and describes the request.
struct CoverSearchRequest {
explicit CoverSearchRequest() : id(-1), search(false), batch(false) {}
explicit CoverSearchRequest() : id(0), search(false), batch(false) {}
// An unique (for one AlbumCoverFetcher) request identifier
quint64 id;

View File

@@ -37,7 +37,7 @@ class LyricsProviders;
class LyricsFetcherSearch;
struct LyricsSearchRequest {
explicit LyricsSearchRequest() : id(-1) {}
explicit LyricsSearchRequest() : id(0) {}
quint64 id;
QString artist;
QString album;