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:
parent
a281f2bce1
commit
a6ade5e373
1 changed files with 1 additions and 1 deletions
2
xkb.cpp
2
xkb.cpp
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue