libinput: Fix developer build without xkbcommon
Before this fix, the build failed with: error: unused variable 'REPEAT_DELAY' [-Werror,-Wunused-const-variable] error: unused variable 'REPEAT_RATE' [-Werror,-Wunused-const-variable] Pick-to: 6.8 Change-Id: I44a76e2270c1f5d8af6bd018869db5e30e40ecbb Reviewed-by: Liang Qi <liang.qi@qt.io> (cherry picked from commit 42ea8c31fe459ac252144f89986891b241c3e9d0) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
9601b5fa5b
commit
01b90c38e7
@ -16,8 +16,10 @@
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
#if QT_CONFIG(xkbcommon)
|
||||
const int REPEAT_DELAY = 500;
|
||||
const int REPEAT_RATE = 100;
|
||||
#endif
|
||||
|
||||
QLibInputKeyboard::QLibInputKeyboard()
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user