Replaced caller in LogsPopup.cpp.

This commit is contained in:
23rd 2018-11-05 13:15:59 +03:00 committed by pajlada
parent d3003c171a
commit a0ba2154ae

View file

@ -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",