Add viewing logs to UserInfoPopup (#548)

* Add cbenni logviewer

* Remove unneeded includes

* Updated getLogs to check for logs on Overrustle

will check logs on overrustle if none were found on cbenni

* Formatting, fix some bugs

* Fixes per PR comments

* Should really take more time when pushing

* Changes per PR, simplify code a lot

* Style/formatting fixes
This commit is contained in:
DatGuy1
2018-07-05 23:47:51 +03:00
committed by fourtf
parent eeb514c444
commit 086ae010b1
6 changed files with 191 additions and 1 deletions
+3 -1
View File
@@ -217,7 +217,9 @@ public:
QObject::connect(worker, &NetworkWorker::doneUrl, this->data.caller,
[ onFinished, data = this->data ](auto reply) mutable {
if (reply->error() != QNetworkReply::NetworkError::NoError) {
// TODO: We might want to call an onError callback here
if (data.onError) {
data.onError(reply->error());
}
return;
}