From a0ba2154ae17057fc034f530ff37bb70e474eafe Mon Sep 17 00:00:00 2001 From: 23rd <23rd@vivaldi.net> Date: Mon, 5 Nov 2018 13:15:59 +0300 Subject: [PATCH] Replaced caller in LogsPopup.cpp. --- src/widgets/dialogs/LogsPopup.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/widgets/dialogs/LogsPopup.cpp b/src/widgets/dialogs/LogsPopup.cpp index 2e305ace4..46e7f7126 100644 --- a/src/widgets/dialogs/LogsPopup.cpp +++ b/src/widgets/dialogs/LogsPopup.cpp @@ -91,7 +91,7 @@ void LogsPopup::getLogviewerLogs(const QString &roomID) .arg(this->channelName_, this->userName_); NetworkRequest req(url); - req.setCaller(QThread::currentThread()); + req.setCaller(this); req.onError([this](int errorCode) { this->getOverrustleLogs(); @@ -138,7 +138,7 @@ void LogsPopup::getOverrustleLogs() .arg(this->channelName_, this->userName_); NetworkRequest req(url); - req.setCaller(QThread::currentThread()); + req.setCaller(this); req.onError([this](int errorCode) { auto box = new QMessageBox( QMessageBox::Information, "Error getting logs",