diff --git a/src/kernel/dguiapplicationhelper.cpp b/src/kernel/dguiapplicationhelper.cpp index 83be6324..b263f97f 100644 --- a/src/kernel/dguiapplicationhelper.cpp +++ b/src/kernel/dguiapplicationhelper.cpp @@ -1494,7 +1494,7 @@ bool DGuiApplicationHelper::testAttribute(DGuiApplicationHelper::Attribute attri case IsDeepinEnvironment: return QGuiApplicationPrivate::instance()->platformIntegration()->services()->desktopEnvironment().toLower().contains("deepin"); case IsSpecialEffectsEnvironment: { - return qgetenv("DTK_DISABLED_SPECIAL_EFFECTS").toInt() != 1; + return qgetenv("DTK_DISABLED_SPECIAL_EFFECTS").toInt() != 0; } default: return DGuiApplicationHelperPrivate::attributes.testFlag(attribute);