Use const reference for AlbumCoverLoaderResult

This commit is contained in:
Jonas Kvinge
2023-04-09 22:26:17 +02:00
parent f8d2c7eba3
commit 2f17647cd3
37 changed files with 242 additions and 309 deletions

View File

@@ -44,7 +44,7 @@ class CoverFromURLDialog : public QDialog {
~CoverFromURLDialog() override;
// Opens the dialog. This returns an image found at the URL chosen by user or null image if the dialog got rejected.
AlbumCoverImageResultPtr Exec();
AlbumCoverImageResult Exec();
private slots:
void accept() override;
@@ -53,7 +53,7 @@ class CoverFromURLDialog : public QDialog {
private:
NetworkAccessManager *network_;
Ui_CoverFromURLDialog *ui_;
AlbumCoverImageResultPtr last_album_cover_;
AlbumCoverImageResult last_album_cover_;
};
#endif // COVERFROMURLDIALOG_H