From 964e2e87fc5dcbb4180343db3e7f6158091c7af1 Mon Sep 17 00:00:00 2001 From: rsgnz <639472+rsgnz@users.noreply.github.com> Date: Mon, 30 Dec 2024 16:01:15 +0000 Subject: [PATCH] Update string comparison to handle QString and std::string correctly --- Source/Core/DolphinQt/Config/Graphics/EnhancementsWidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/DolphinQt/Config/Graphics/EnhancementsWidget.cpp b/Source/Core/DolphinQt/Config/Graphics/EnhancementsWidget.cpp index 4716d31ae1..03c4f01746 100644 --- a/Source/Core/DolphinQt/Config/Graphics/EnhancementsWidget.cpp +++ b/Source/Core/DolphinQt/Config/Graphics/EnhancementsWidget.cpp @@ -378,7 +378,7 @@ void EnhancementsWidget::ShaderChanged() { auto shader = ReadSetting(Config::GFX_ENHANCE_POST_SHADER); - if (shader == tr("(off)") || shader == "") + if (shader == tr("(off)").toStdString() || shader == "") { shader = "";