Hide and disable update checker on custom builds

This commit is contained in:
Cacodemon345
2025-07-11 15:36:09 +06:00
parent f4f6bbc465
commit 4c72a0f721
4 changed files with 20 additions and 4 deletions

View File

@@ -85,7 +85,9 @@ private:
VMManagerSystem *selected_sysconfig;
// VMManagerConfig *config;
QSortFilterProxyModel *proxy_model;
#if EMU_BUILD_NUM != 0
bool updateCheck = false;
#endif
bool regexSearch = false;
// void updateSelection(const QItemSelection &selected,
@@ -97,11 +99,15 @@ private:
void loadSettings();
[[nodiscard]] bool currentSelectionIsValid() const;
[[nodiscard]] QString totalCountString() const;
#if EMU_BUILD_NUM != 0
void backgroundUpdateCheckStart() const;
#endif
void showTextFileContents(const QString &title, const QString &path);
private slots:
#if EMU_BUILD_NUM != 0
void backgroundUpdateCheckComplete(const UpdateCheck::UpdateResult &result);
void backgroundUpdateCheckError(const QString &errorMsg);
#endif
};
#include <QDialog>