From 86b29ebcdf97e5cd328ae4fea11fe507c53dd355 Mon Sep 17 00:00:00 2001 From: chenke Date: Tue, 23 Nov 2021 09:53:31 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"fix:=20=E5=88=A4=E6=96=AD=E7=89=B9?= =?UTF-8?q?=E6=AE=8A=E7=8E=AF=E5=A2=83=E9=80=BB=E8=BE=91=E5=86=99=E5=8F=8D?= =?UTF-8?q?=E4=BA=86"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit cf580cd80429b68a8782695f8e791977af5ca44a. Reason for revert: <是否特效而非是否专有设备> Change-Id: I64a692e7f223f715a9b77eebf28e918fae49ed14 --- src/kernel/dguiapplicationhelper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kernel/dguiapplicationhelper.cpp b/src/kernel/dguiapplicationhelper.cpp index b263f97f..83be6324 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() != 0; + return qgetenv("DTK_DISABLED_SPECIAL_EFFECTS").toInt() != 1; } default: return DGuiApplicationHelperPrivate::attributes.testFlag(attribute);