[libinput] Fix enumeral and non-enumeral type in conditional expression warning
This commit is contained in:
parent
656b3c2db5
commit
859709f10a
1 changed files with 1 additions and 1 deletions
|
@ -175,7 +175,7 @@ Device::Device(libinput_device *device, QObject *parent)
|
||||||
, m_defaultScrollMethod(libinput_device_config_scroll_get_default_method(m_device))
|
, m_defaultScrollMethod(libinput_device_config_scroll_get_default_method(m_device))
|
||||||
, m_defaultScrollButton(libinput_device_config_scroll_get_default_button(m_device))
|
, m_defaultScrollButton(libinput_device_config_scroll_get_default_button(m_device))
|
||||||
, m_disableWhileTypingEnabledByDefault(libinput_device_config_dwt_get_default_enabled(m_device))
|
, m_disableWhileTypingEnabledByDefault(libinput_device_config_dwt_get_default_enabled(m_device))
|
||||||
, m_disableWhileTyping(m_supportsDisableWhileTyping ? libinput_device_config_dwt_get_enabled(m_device) : false)
|
, m_disableWhileTyping(m_supportsDisableWhileTyping ? libinput_device_config_dwt_get_enabled(m_device) == LIBINPUT_CONFIG_DWT_ENABLED : false)
|
||||||
, m_middleEmulation(libinput_device_config_middle_emulation_get_enabled(m_device) == LIBINPUT_CONFIG_MIDDLE_EMULATION_ENABLED)
|
, m_middleEmulation(libinput_device_config_middle_emulation_get_enabled(m_device) == LIBINPUT_CONFIG_MIDDLE_EMULATION_ENABLED)
|
||||||
, m_leftHanded(m_supportsLeftHanded ? libinput_device_config_left_handed_get(m_device) : false)
|
, m_leftHanded(m_supportsLeftHanded ? libinput_device_config_left_handed_get(m_device) : false)
|
||||||
, m_naturalScroll(m_supportsNaturalScroll ? libinput_device_config_scroll_get_natural_scroll_enabled(m_device) : false)
|
, m_naturalScroll(m_supportsNaturalScroll ? libinput_device_config_scroll_get_natural_scroll_enabled(m_device) : false)
|
||||||
|
|
Loading…
Reference in a new issue