|
|
@@ -91,7 +91,6 @@ class KeytabParser {
|
|
|
bool? appCursorKeys;
|
|
|
bool? appKeyPad;
|
|
|
bool? newLine;
|
|
|
- bool? mac;
|
|
|
|
|
|
while (reader.peek()!.type == KeytabTokenType.modeStatus) {
|
|
|
bool modeStatus;
|
|
|
@@ -142,9 +141,6 @@ class KeytabParser {
|
|
|
case 'NewLine':
|
|
|
newLine = modeStatus;
|
|
|
break;
|
|
|
- case 'Mac':
|
|
|
- mac = modeStatus;
|
|
|
- break;
|
|
|
default:
|
|
|
throw ParseError();
|
|
|
}
|
|
|
@@ -165,20 +161,20 @@ class KeytabParser {
|
|
|
}
|
|
|
|
|
|
final record = KeytabRecord(
|
|
|
- qtKeyName: keyName.value,
|
|
|
- key: key,
|
|
|
- action: action,
|
|
|
- alt: alt,
|
|
|
- ctrl: ctrl,
|
|
|
- shift: shift,
|
|
|
- anyModifier: anyModifier,
|
|
|
- ansi: ansi,
|
|
|
- appScreen: appScreen,
|
|
|
- keyPad: keyPad,
|
|
|
- appCursorKeys: appCursorKeys,
|
|
|
- appKeyPad: appKeyPad,
|
|
|
- newLine: newLine,
|
|
|
- mac: mac);
|
|
|
+ qtKeyName: keyName.value,
|
|
|
+ key: key,
|
|
|
+ action: action,
|
|
|
+ alt: alt,
|
|
|
+ ctrl: ctrl,
|
|
|
+ shift: shift,
|
|
|
+ anyModifier: anyModifier,
|
|
|
+ ansi: ansi,
|
|
|
+ appScreen: appScreen,
|
|
|
+ keyPad: keyPad,
|
|
|
+ appCursorKeys: appCursorKeys,
|
|
|
+ appKeyPad: appKeyPad,
|
|
|
+ newLine: newLine,
|
|
|
+ );
|
|
|
|
|
|
_records.add(record);
|
|
|
}
|