Disable startup warnings when config warnings are disabled

Fixes #2096
This commit is contained in:
Cameron Gutman committed 2026-11-23 02:12:11 -06:00
1 parent 457aa3ab26
commit 48ac42717b
1 file changed
+11 -6
+11 -6
View File
@@ -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()
}
}