mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-08 15:20:45 +01:00
Update string comparison to handle QString and std::string correctly
This commit is contained in:
parent
3156e18f14
commit
964e2e87fc
@ -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 = "";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user