diff options
| author | Elvis Angelaccio <[email protected]> | 2018-01-21 10:50:11 +0100 |
|---|---|---|
| committer | Elvis Angelaccio <[email protected]> | 2018-01-27 17:40:59 +0100 |
| commit | 7caef6d251a1611842f73a9942f1bfc1dd2ec13b (patch) | |
| tree | 75c3987c162e767048216ebb092b401d1246cb22 /src/main.cpp | |
| parent | c5eb4e31161ccf422a2f2492fe998c5c9817bea4 (diff) | |
Port away from deprecated QStyle::SH_Widget_Animate
Summary:
Use the new QStyle::SH_Widget_Animation_Duration instead,
which allows us to not manually hardcode the duration.
We still use 1 if animations are disabled,
otherwise the scroll would not work at all.
See also D5883 for some background.
Test Plan: Played with different values in the Animation tab of the Breeze config dialog.
Reviewers: #dolphin, broulik
Reviewed By: broulik
Subscribers: broulik
Differential Revision: https://phabricator.kde.org/D10005
Diffstat (limited to 'src/main.cpp')
0 files changed, 0 insertions, 0 deletions
