mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-09 07:39:26 +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);
|
auto shader = ReadSetting(Config::GFX_ENHANCE_POST_SHADER);
|
||||||
|
|
||||||
if (shader == tr("(off)") || shader == "")
|
if (shader == tr("(off)").toStdString() || shader == "")
|
||||||
{
|
{
|
||||||
shader = "";
|
shader = "";
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user