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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user