Skip to content
Commit 20dd5b94 authored by Martin Tobias Holmedahl Sandsmark's avatar Martin Tobias Holmedahl Sandsmark Committed by Nate Graham
Browse files

Load and use global animation settings

Summary:
In addition to the specific Breeze animation settings, KDE has "global" animation settings primarily used for `Qt::UIEffect`s like `Qt::UI_AnimateMenu`, `Qt::UI_AnimateCombo`, `Qt::UI_AnimateTooltip` and `Qt::UI_AnimateToolBox`.

This patch ensures that Breeze use and respect those settings, which both harmonizes with other styles (if `QGuiApplication::desktopSettingsAware()` is true).

Test Plan:
Turn animations on and off in kdeglobals, and see animations turn off and on when using Breeze.

Also makes https://phabricator.kde.org/D17732 work properly with breeze.

Reviewers: #breeze, ngraham

Reviewed By: #breeze, ngraham

Subscribers: meven, cblack, davidedmundson, ngraham, hpereiradacosta, ndavis, plasma-devel, #breeze

Tags: #plasma, #breeze

Differential Revision: https://phabricator.kde.org/D28651
parent faa24ec4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment