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:
parent
cb24aece06
commit
f7489974c1
2 changed files with 3 additions and 1 deletions
|
@ -98,7 +98,7 @@ void Patcher::processPatchList(QNetworkAccessManager &mgr, const QString &patchL
|
|||
// dialog->setValue(recieved);
|
||||
});
|
||||
|
||||
connect(patchReply, &QNetworkReply::finished, [=] {
|
||||
connect(patchReply, &QNetworkReply::finished, [this, patchesDir, name, patchReply, repository, version] {
|
||||
QFile file(patchesDir + "/" + name + ".patch");
|
||||
file.open(QIODevice::WriteOnly);
|
||||
file.write(patchReply->readAll());
|
||||
|
|
|
@ -27,6 +27,8 @@ void SteamAPI::setLauncherMode(bool isLauncher)
|
|||
if (core.isSteam()) {
|
||||
SteamUtils()->SetGameLauncherMode(isLauncher);
|
||||
}
|
||||
#else
|
||||
Q_UNUSED(isLauncher)
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue