aboutsummaryrefslogtreecommitdiff
path: root/src/yuzu/main.cpp
diff options
context:
space:
mode:
authorInix <Nixy01@proton.me>2025-10-21 23:36:35 +0200
committercrueter <crueter@eden-emu.dev>2025-10-21 23:36:35 +0200
commitcde02bfe46c43396b19ba74605cd97ca716bcad2 (patch)
tree891d620531ddb754578b0b73d392c1e7693f1563 /src/yuzu/main.cpp
parent1971fbe5afcc074a7b5abf569db7d066732184ac (diff)
[frontend, android] Move update_checker to frontend_common and add Android support (#2687)
I still have to add a setting to disable the auto update checking on a later PR, firstly lets make sure i didn't accidentally break anything with CMAKE. or QT. Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2687 Reviewed-by: Lizzie <lizzie@eden-emu.dev> Reviewed-by: crueter <crueter@eden-emu.dev> Co-authored-by: Inix <Nixy01@proton.me> Co-committed-by: Inix <Nixy01@proton.me>
Diffstat (limited to 'src/yuzu/main.cpp')
-rw-r--r--src/yuzu/main.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp
index 1aee52da9c..8fb5575b41 100644
--- a/src/yuzu/main.cpp
+++ b/src/yuzu/main.cpp
@@ -54,8 +54,8 @@
#include "yuzu/multiplayer/state.h"
#include "yuzu/util/controller_navigation.h"
-#ifdef ENABLE_QT_UPDATE_CHECKER
-#include "yuzu/update_checker.h"
+#ifdef ENABLE_UPDATE_CHECKER
+#include "frontend_common/update_checker.h"
#endif
#ifdef YUZU_ROOM
@@ -517,7 +517,7 @@ GMainWindow::GMainWindow(bool has_broken_vulkan)
show();
-#ifdef ENABLE_QT_UPDATE_CHECKER
+#ifdef ENABLE_UPDATE_CHECKER
if (UISettings::values.check_for_updates) {
update_future = QtConcurrent::run([]() -> QString {
const bool is_prerelease = ((strstr(Common::g_build_version, "pre-alpha") != NULL) ||
@@ -4220,7 +4220,7 @@ void GMainWindow::MigrateConfigFiles() {
}
}
-#ifdef ENABLE_QT_UPDATE_CHECKER
+#ifdef ENABLE_UPDATE_CHECKER
void GMainWindow::OnEmulatorUpdateAvailable() {
QString version_string = update_future.result();
if (version_string.isEmpty())