From 040883a107f6a85536edacf0a593cc13a506e563 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20=C3=81ngel=20San=20Mart=C3=ADn?= Date: Tue, 28 Dec 2021 17:48:35 +0100 Subject: [PATCH] Fix static assert when compiling with Qt 6.2.2 QtConcurrent::run doesn't like that reference anymore --- YACReaderLibrary/comic_vine/comic_vine_dialog.cpp | 2 +- YACReaderLibrary/comic_vine/comic_vine_dialog.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/YACReaderLibrary/comic_vine/comic_vine_dialog.cpp b/YACReaderLibrary/comic_vine/comic_vine_dialog.cpp index 8e568f48..a1782495 100644 --- a/YACReaderLibrary/comic_vine/comic_vine_dialog.cpp +++ b/YACReaderLibrary/comic_vine/comic_vine_dialog.cpp @@ -439,7 +439,7 @@ void ComicVineDialog::queryTimeOut() } } -void ComicVineDialog::getComicsInfo(QList> &matchingInfo, int count, const QString &publisher) +void ComicVineDialog::getComicsInfo(QList> matchingInfo, int count, const QString &publisher) { QPair p; QList comics; diff --git a/YACReaderLibrary/comic_vine/comic_vine_dialog.h b/YACReaderLibrary/comic_vine/comic_vine_dialog.h index 6a9f517c..cba75d4d 100644 --- a/YACReaderLibrary/comic_vine/comic_vine_dialog.h +++ b/YACReaderLibrary/comic_vine/comic_vine_dialog.h @@ -31,7 +31,7 @@ public: void setComics(const QList &comics); QSize sizeHint() const override; QSize minimumSizeHint() const override; - void getComicsInfo(QList> &matchingInfo, int count, const QString &publisher); + void getComicsInfo(QList> matchingInfo, int count, const QString &publisher); void getComicInfo(const QString &comicId, int count, const QString &publisher); signals: