Game-compatibility - improved (#2367)

* Game-compatibility - improved

* +

none of these texts have a translation \o/

* Fix

- html_url has been removed, the url is now built dynamically from the issue_number, and the file has decreased in size from 537kb to 355KB;
-Fix QProgressDialog
- change the correct directory, from my ford to the official one

* TR
This commit is contained in:
DanielSvoboda 2025-02-08 12:25:55 -03:00 committed by GitHub
parent cb14431ee5
commit d98face501
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
33 changed files with 1824 additions and 181 deletions

View file

@ -11,8 +11,6 @@
#include "common/config.h"
#include "core/file_format/psf.h"
static constexpr int COMPAT_DB_VERSION = 1;
enum class CompatibilityStatus {
Unknown,
Nothing,
@ -49,7 +47,7 @@ struct CompatibilityEntry {
QString version;
QDateTime last_tested;
QString url;
int issue_number;
QString issue_number;
};
class CompatibilityInfoClass : public QObject {
@ -82,8 +80,6 @@ public:
CompatibilityEntry GetCompatibilityInfo(const std::string& serial);
const QString GetCompatStatusString(const CompatibilityStatus status);
void ExtractCompatibilityInfo(QByteArray response);
static bool WaitForReply(QNetworkReply* reply);
QNetworkReply* FetchPage(int page_num);
private:
QNetworkAccessManager* m_network_manager;