From 50bda95f47f790ebc5254304f0bed7613b60af57 Mon Sep 17 00:00:00 2001 From: Roman Gilg Date: Tue, 6 Dec 2016 13:59:17 +0100 Subject: [PATCH] [libinput] Minor coding style fix --- libinput/device.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/libinput/device.cpp b/libinput/device.cpp index 100061a6d7..5443c331db 100644 --- a/libinput/device.cpp +++ b/libinput/device.cpp @@ -314,7 +314,8 @@ void Device::setScrollButton(quint32 button) } } -void Device::setPointerAccelerationProfile(bool set, enum libinput_config_accel_profile profile) { +void Device::setPointerAccelerationProfile(bool set, enum libinput_config_accel_profile profile) +{ if (!(m_supportedPointerAccelerationProfiles & profile)) { return; } @@ -359,7 +360,8 @@ void Device::setScrollMethod(bool set, enum libinput_config_scroll_method method } } -void Device::setLmrTapButtonMap(bool set) { +void Device::setLmrTapButtonMap(bool set) +{ enum libinput_config_tap_button_map map = set ? LIBINPUT_CONFIG_TAP_MAP_LMR : LIBINPUT_CONFIG_TAP_MAP_LRM; if (m_tapFingerCount < 2) {