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] 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> (cherry picked from commit 01b90c38e70243f1c83eebab08073a2c2cc9f7a0)bb10
parent
b2260b9d72
commit
746b2685c2
|
|
@ -17,8 +17,10 @@ QT_BEGIN_NAMESPACE
|
|||
|
||||
Q_DECLARE_LOGGING_CATEGORY(qLcLibInput)
|
||||
|
||||
#if QT_CONFIG(xkbcommon)
|
||||
const int REPEAT_DELAY = 500;
|
||||
const int REPEAT_RATE = 100;
|
||||
#endif
|
||||
|
||||
QLibInputKeyboard::QLibInputKeyboard()
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue