kwin/libinput
Martin Flöser ba0cf19286 Fix dbus export of property Device::supportedButtons
Summary:
When launching the touchpad kcm we see the following warning:
    Error on d-bus read of "supportedButtons"

And the Gui shows "Error while loading values. See logs for more
information. Please restart this configuration module".

By extending the unit test for reading back the properties through DBus
I noticed that it's not trivially possible to export QFlags to DBus. As
the QFlags can be implicitly casted to int, the property is changed to
an int value.

Test Plan: Test case adjusted, did not pass prior to change, passes now.

Reviewers: #kwin

Subscribers: kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D17472
2018-12-13 19:36:28 +01:00
..
connection.cpp libinput/connection: Don't hardcode seat0 anymore 2018-04-22 17:29:32 +02:00
connection.h Expose if the tablet mode switch is available 2018-01-25 12:46:38 +01:00
context.cpp Require Qt 5.7 and remove pre-5.7 code 2017-02-07 20:43:19 +01:00
context.h
device.cpp Require libinput version 1.9 2018-01-21 11:15:41 +01:00
device.h Fix dbus export of property Device::supportedButtons 2018-12-13 19:36:28 +01:00
events.cpp Merge branch 'Plasma/5.12' 2018-02-03 16:04:05 +01:00
events.h Merge branch 'Plasma/5.12' 2018-02-03 16:04:05 +01:00
libinput_logging.cpp pedantic fixes 2016-07-16 13:14:44 -04:00
libinput_logging.h