Merge pull request #650 from DanielSvoboda/main

Fix creation files.json in 'Download All Patches'
This commit is contained in:
georgemoralis 2024-08-29 23:47:25 +03:00 committed by GitHub
commit 7e7854346d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 1 deletions

View file

@ -36,6 +36,7 @@ public:
void downloadCheats(const QString& source, const QString& m_gameSerial,
const QString& m_gameVersion, bool showMessageBox);
void downloadPatches(const QString repository, const bool showMessageBox);
void createFilesJson(const QString& repository);
signals:
void downloadFinished();
@ -58,7 +59,6 @@ private:
void applyCheat(const QString& modName, bool enabled);
void applyPatch(const QString& patchName, bool enabled);
void createFilesJson(const QString& repository);
void uncheckAllCheatCheckBoxes();
void updateNoteTextEdit(const QString& patchName);

View file

@ -391,6 +391,8 @@ void MainWindow::CreateConnects() {
nullptr, tr("Download Complete"),
QString(tr("Patches Downloaded Successfully!") + "\n" +
tr("All Patches available for all games have been downloaded.")));
cheatsPatches->createFilesJson("GoldHEN");
cheatsPatches->createFilesJson("shadPS4");
panelDialog->accept();
});
panelDialog->exec();