Fix a few narrowing conversions (#761)
* Fix narrowing conversion in album cover loader
* Fix narrowing conversions in discogs cover provider
* Fix narrowing conversions in spotify cover provider
* Add explicit conversion in moodbarbuilder
* Fix narrowing conversions in osd dbus
* Make WordyTimeNanosec use unsigned quint64
* Fix narrowing conversions in song
* Fix narrowing conversions in qobuz stream url request
* Make ConnectionInfo.msgLen use unsigned quint64
* Make AnalizerBase.timeout to signed int
* Fix narrowing conversions in album cover fetcher
* Make fht type be unsigned int
* Correct for type in blockanalizer and use std::fill where possible
* Revert "Fix narrowing conversions in song"
This reverts commit 3de291394d.
This commit is contained in:
@@ -129,7 +129,7 @@ class AlbumCoverChoiceController : public QWidget {
|
||||
void ShowCover(const Song &song, const QPixmap &pixmap);
|
||||
|
||||
// Search for covers automatically
|
||||
qint64 SearchCoverAutomatically(const Song &song);
|
||||
quint64 SearchCoverAutomatically(const Song &song);
|
||||
|
||||
// Saves the chosen cover as manual cover path of this song in collection.
|
||||
void SaveArtAutomaticToSong(Song *song, const QUrl &art_automatic);
|
||||
@@ -185,7 +185,7 @@ class AlbumCoverChoiceController : public QWidget {
|
||||
QAction *search_cover_auto_;
|
||||
|
||||
QMap<quint64, Song> cover_fetching_tasks_;
|
||||
QMap<qint64, Song> cover_save_tasks_;
|
||||
QMap<quint64, Song> cover_save_tasks_;
|
||||
QMutex mutex_cover_save_tasks_;
|
||||
|
||||
CollectionSettingsPage::SaveCoverType save_cover_type_;
|
||||
|
||||
Reference in New Issue
Block a user