From 48ac42717b4c7d18fb1b9e1102d637d3a4c62113 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Mon, 23 Nov 2026 02:12:11 -0600 Subject: [PATCH] Disable startup warnings when config warnings are disabled Fixes #2096 --- app/gui/main.qml | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/app/gui/main.qml b/app/gui/main.qml index b57c1256..78b773c4 100644 --- a/app/gui/main.qml +++ b/app/gui/main.qml @@ -50,15 +50,20 @@ ApplicationWindow { window.showFullScreen() } - // Display any modal dialogs for configuration warnings if (isGuiLaunch) { - if (SystemProperties.isWow64) { - wow64Dialog.open() + // Display any modal dialogs for configuration warnings + if (StreamingPreferences.configurationWarnings) { + if (SystemProperties.isWow64) { + wow64Dialog.open() + } + + // Hardware acceleration and unmapped gamepads are checked asynchronously + SystemProperties.hasHardwareAccelerationChanged.connect(hasHardwareAccelerationChanged) + SystemProperties.unmappedGamepadsChanged.connect(hasUnmappedGamepadsChanged) } - // Hardware acceleration and unmapped gamepads are checked asynchronously - SystemProperties.hasHardwareAccelerationChanged.connect(hasHardwareAccelerationChanged) - SystemProperties.unmappedGamepadsChanged.connect(hasUnmappedGamepadsChanged) + // We still need to load the remaining properties even if config warnings are disabled, + // since some of them are used by the SettingsView to enable/disable certain options. SystemProperties.startAsyncLoad() } }