Review Request 124782: [Panelconfig] Add some comments and rename the max/min value variable

David Kahles david.kahles96 at gmail.com
Sun Aug 16 22:45:37 UTC 2015


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/124782/
-----------------------------------------------------------

Review request for Plasma.


Repository: plasma-desktop


Description
-------

Add some comments to this IHMO hard to understand code.
I hope I understood the code correctly...

The maximum and minimum position the slider can be moved to is not
relative to offset, so min/maxValue is a wrong term. Instead, use
min/maxPosition as the borders are absolute.


Diffs
-----

  desktoppackage/contents/configuration/panelconfiguration/Ruler.qml a31feb40598ba24a107f41ff3b3f823afaa89da6 
  desktoppackage/contents/configuration/panelconfiguration/SliderHandle.qml 3480ce65a961d498055b3952d2d57b4f5d881a9a 

Diff: https://git.reviewboard.kde.org/r/124782/diff/


Testing
-------

Changing the size and position works as before.


Thanks,

David Kahles

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20150816/27bf603a/attachment.html>


More information about the Plasma-devel mailing list