D10005: Port away from deprecated QStyle::SH_Widget_Animate

Elvis Angelaccio noreply at phabricator.kde.org
Sun Jan 21 10:01:09 GMT 2018


elvisangelaccio created this revision.
elvisangelaccio added a reviewer: Dolphin.
elvisangelaccio requested review of this revision.

REVISION 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 https://phabricator.kde.org/D5883 for some background.

TEST PLAN
  Played with different values in the Animation tab of the Breeze config dialog.

REPOSITORY
  R318 Dolphin

BRANCH
  animation-duration (branched from master)

REVISION DETAIL
  https://phabricator.kde.org/D10005

AFFECTED FILES
  src/kitemviews/private/kitemlistsmoothscroller.cpp

To: elvisangelaccio, #dolphin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20180121/df087d18/attachment.htm>


More information about the kfm-devel mailing list