MCPcopy Create free account
hub / github.com/SeaEpoch/MouseClick / keyReleaseEvent

Method keyReleaseEvent

src/modules/hotkeylineedit.cpp:93–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91}
92
93void HotkeyLineEdit::keyReleaseEvent(QKeyEvent* event)
94{
95 int key = event->key();
96
97 _pressed_keys.remove(key);
98
99 if (_pressed_keys.isEmpty()) {
100 clearFocus();
101
102 registerGlobalHotkey();
103 }
104
105 QLineEdit::keyReleaseEvent(event);
106}
107
108void HotkeyLineEdit::registerGlobalHotkey()
109{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected