blob: b527cfc2f58ae7d0a031f49d649d56af7fe1237f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
--- tools/UGlobalHotkey/hotkeymap.h 2016-03-30 19:53:28.641258206 -0400
+++ tools/UGlobalHotkey/hotkeymap.h 2016-04-01 22:49:50.257090741 -0400
@@ -137,7 +137,7 @@
{
UKeyData data = {0, 0};
- auto key = keySeq.GetSimpleKeys();
+ auto key = keySeq.getSimpleKeys();
if (key.size() > 0) {
data.key = key[0];
} else {
@@ -153,12 +153,12 @@
} else if (data.key >= Qt::Key_Space && data.key <= Qt::Key_QuoteLeft) {
// conversion is not necessary, if the value in the range Qt::Key_Space - Qt::Key_QuoteLeft
} else {
- qWarning() << "Invalid hotkey: key conversion is not defined");
+ qWarning() << "Invalid hotkey: key conversion is not defined";
return data;
}
// Modifiers conversion
- auto mods = keySeq.GetModifiers();
+ auto mods = keySeq.getModifiers();
for (auto i : mods) {
if (i == Qt::Key_Shift)
|