mirror of
https://github.com/redstrate/Astra.git
synced 2025-04-21 20:27:45 +00:00
Misc move printRequest
This commit is contained in:
parent
6be8c5ade4
commit
96f829207a
1 changed files with 1 additions and 1 deletions
|
@ -29,9 +29,9 @@ void GameInstaller::installGame()
|
||||||
const QDir installDirectory = m_profile.gamePath();
|
const QDir installDirectory = m_profile.gamePath();
|
||||||
|
|
||||||
const QNetworkRequest request = QNetworkRequest(QUrl(installerUrl));
|
const QNetworkRequest request = QNetworkRequest(QUrl(installerUrl));
|
||||||
|
Utility::printRequest(QStringLiteral("GET"), request);
|
||||||
|
|
||||||
auto reply = m_launcher.mgr()->get(request);
|
auto reply = m_launcher.mgr()->get(request);
|
||||||
Utility::printRequest(QStringLiteral("GET"), request);
|
|
||||||
|
|
||||||
QObject::connect(reply, &QNetworkReply::finished, [this, reply, installDirectory] {
|
QObject::connect(reply, &QNetworkReply::finished, [this, reply, installDirectory] {
|
||||||
if (reply->error() != QNetworkReply::NetworkError::NoError) {
|
if (reply->error() != QNetworkReply::NetworkError::NoError) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue