diff --git a/src/widgets/dialogs/UserInfoPopup.cpp b/src/widgets/dialogs/UserInfoPopup.cpp index 9eb4d55994d..931b272da60 100644 --- a/src/widgets/dialogs/UserInfoPopup.cpp +++ b/src/widgets/dialogs/UserInfoPopup.cpp @@ -35,6 +35,7 @@ #include #include +#include #include #include @@ -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;