D7558: kcms/input: Allow WheelScrollLines = 0; some code cleanup

Valeriy Malov noreply at phabricator.kde.org
Sat Aug 26 14:46:29 UTC 2017


valeriymalov created this revision.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.

REVISION SUMMARY
  This should allow user to disable scrollwheel in KDE/Qt apps
  This does not seem to affect non-Qt apps, e.g. Google Chrome, but they
  ignore WheelScrollLines setting anyway and require some other solution
  
  BUG: 192427
  
  Some code cleanup:
  Reorder headers
  Replace RIGHT/LEFT_HANDED defines with enum
  Replace deprecated KStandardDirs
  Remove unescessary explicit casts
  Remvoe old warning
  Replace NULL with nullptr
  Fix header guards

TEST PLAN
  builds, can disable scroll in kde apps, switch left/right hand still works

REPOSITORY
  R119 Plasma Desktop

BRANCH
  master

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

AFFECTED FILES
  kcms/input/main.cpp
  kcms/input/mouse.cpp
  kcms/input/mouse.h

To: valeriymalov, #plasma
Cc: plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart, lukas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20170826/78e7f916/attachment.html>


More information about the Plasma-devel mailing list