ContextAlbum: Use const reference for image parameter

This commit is contained in:
Jonas Kvinge
2024-06-20 15:59:34 +02:00
parent 05f012e590
commit 6177d4a2c4
2 changed files with 9 additions and 7 deletions

View File

@@ -51,7 +51,7 @@ class ContextAlbum : public QWidget {
explicit ContextAlbum(QWidget *parent = nullptr);
void Init(ContextView *context_view, AlbumCoverChoiceController *album_cover_choice_controller);
void SetImage(QImage image = QImage());
void SetImage(const QImage &image = QImage());
void UpdateWidth(const int width);
protected: