summaryrefslogtreecommitdiffstats
path: root/src/tools/launcher-qml/launcher-qml.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/launcher-qml/launcher-qml.cpp')
-rw-r--r--src/tools/launcher-qml/launcher-qml.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/launcher-qml/launcher-qml.cpp b/src/tools/launcher-qml/launcher-qml.cpp
index 7fc88ac2..9efddb73 100644
--- a/src/tools/launcher-qml/launcher-qml.cpp
+++ b/src/tools/launcher-qml/launcher-qml.cpp
@@ -459,7 +459,7 @@ void Controller::startApplication(const QString &baseDir, const QString &qmlFile
connect(m_applicationInterface, &ApplicationInterface::slowAnimationsChanged,
this, &Controller::updateSlowMode);
- if (qEnvironmentVariableIsSet("AM_SLOW_ANIMATIONS"))
+ if (LauncherMain::instance()->slowAnimations())
updateSlowMode(true);
}