Skip to content
  • Martin Tobias Holmedahl Sandsmark's avatar
    Load and use global animation settings · 20dd5b94
    Martin Tobias Holmedahl Sandsmark authored and Nate Graham's avatar Nate Graham committed
    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
    20dd5b94