qt: Use hex debug prints compatible with older Qt versions
This commit is contained in:
@@ -154,9 +154,9 @@ evdev_translate(uint32_t keycode)
|
||||
|
||||
if (!ret)
|
||||
qWarning() << "Evdev Keyboard: Unknown key" << keycode;
|
||||
#if 0
|
||||
#if 1
|
||||
else
|
||||
qInfo() << "Evdev Keyboard: Key" << keycode << "scancode" << Qt::hex << ret;
|
||||
qInfo() << "Evdev Keyboard: Key" << keycode << "scancode" << QString::number(ret, 16);
|
||||
#endif
|
||||
|
||||
return ret;
|
||||
|
||||
Reference in New Issue
Block a user