1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-04-20 11:47:46 +00:00

Fix even more warnings

This commit is contained in:
Joshua Goins 2023-07-30 10:34:22 -04:00
parent cb24aece06
commit f7489974c1
2 changed files with 3 additions and 1 deletions

View file

@ -98,7 +98,7 @@ void Patcher::processPatchList(QNetworkAccessManager &mgr, const QString &patchL
// dialog->setValue(recieved); // dialog->setValue(recieved);
}); });
connect(patchReply, &QNetworkReply::finished, [=] { connect(patchReply, &QNetworkReply::finished, [this, patchesDir, name, patchReply, repository, version] {
QFile file(patchesDir + "/" + name + ".patch"); QFile file(patchesDir + "/" + name + ".patch");
file.open(QIODevice::WriteOnly); file.open(QIODevice::WriteOnly);
file.write(patchReply->readAll()); file.write(patchReply->readAll());

View file

@ -27,6 +27,8 @@ void SteamAPI::setLauncherMode(bool isLauncher)
if (core.isSteam()) { if (core.isSteam()) {
SteamUtils()->SetGameLauncherMode(isLauncher); SteamUtils()->SetGameLauncherMode(isLauncher);
} }
#else
Q_UNUSED(isLauncher)
#endif #endif
} }