mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 06:35:52 +08:00
refs #313 Fix argument by const reference
This commit is contained in:
@@ -50,6 +50,7 @@ namespace BlackInput
|
||||
m_pressedKey.setKeyObject(CKeyboardKey());
|
||||
}
|
||||
|
||||
void CKeyboardLinux::triggerKey(const CKeyboardKey &key, bool isPressed)
|
||||
{
|
||||
if(!isPressed) emit keyUp(key);
|
||||
else emit keyDown(key);
|
||||
|
||||
Reference in New Issue
Block a user