Pass the appropriate enumerator to xkb_context_new

Summary: No functional changes, just a small readabiity improvement.

Reviewers: #kwin, davidedmundson

Reviewed By: #kwin, davidedmundson

Subscribers: kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D16113
This commit is contained in:
Vlad Zagorodniy 2018-10-10 21:11:11 +03:00
parent a281f2bce1
commit a6ade5e373

View file

@ -67,7 +67,7 @@ static void xkbLogHandler(xkb_context *context, xkb_log_level priority, const ch
Xkb::Xkb(QObject *parent)
: QObject(parent)
, m_context(xkb_context_new(static_cast<xkb_context_flags>(0)))
, m_context(xkb_context_new(XKB_CONTEXT_NO_FLAGS))
, m_keymap(NULL)
, m_state(NULL)
, m_shiftModifier(0)