Skip to content

Commit

Permalink
Fix Qt 6 Build (#193)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nerixyz authored Feb 24, 2023
1 parent 5fdf0ef commit 65e384a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/widgets/dialogs/UserInfoPopup.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@

#include <QCheckBox>
#include <QDesktopServices>
#include <QFile>
#include <QNetworkAccessManager>
#include <QNetworkReply>

Expand Down Expand Up @@ -1044,7 +1045,7 @@ void UserInfoPopup::loadSevenTVAvatar(const HelixUser &user)
static auto *manager = new QNetworkAccessManager();
auto *reply = manager->get(req);

QObject::connect(reply, &QNetworkReply::finished, this, [=] {
QObject::connect(reply, &QNetworkReply::finished, this, [=, this] {
if (reply->error() == QNetworkReply::NoError)
{
this->avatarUrl_ = url;
Expand Down

0 comments on commit 65e384a

Please sign in to comment.