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.9 6.8
Change-Id: I44a76e2270c1f5d8af6bd018869db5e30e40ecbb
Reviewed-by: Liang Qi <liang.qi@qt.io>
This commit is contained in:
Robert Löhning 2025-01-29 22:56:44 +01:00 committed by Liang Qi
parent cbce69ebd6
commit 42ea8c31fe

View File

@ -16,8 +16,10 @@
QT_BEGIN_NAMESPACE
#if QT_CONFIG(xkbcommon)
const int REPEAT_DELAY = 500;
const int REPEAT_RATE = 100;
#endif
QLibInputKeyboard::QLibInputKeyboard()
{