Update string comparison to handle QString and std::string correctly

This commit is contained in:
rsgnz 2024-12-30 16:01:15 +00:00
parent 3156e18f14
commit 964e2e87fc

View File

@ -378,7 +378,7 @@ void EnhancementsWidget::ShaderChanged()
{ {
auto shader = ReadSetting(Config::GFX_ENHANCE_POST_SHADER); auto shader = ReadSetting(Config::GFX_ENHANCE_POST_SHADER);
if (shader == tr("(off)") || shader == "") if (shader == tr("(off)").toStdString() || shader == "")
{ {
shader = ""; shader = "";