fix(windows): remove dead code

This commit is contained in:
rc-swag 2025-07-28 16:54:37 +10:00 • committed by Marc Durdin
parent b04229efe5
commit b5b916abbf

View file

@ -1021,7 +1021,7 @@ procedure TLangSwitchConfiguration.DisableWindowsHotkey;
var
MatchValue: string;
KeyboardToggleReg: TRegistryErrorControlled;
FReset, FFixed: Boolean;
FReset: Boolean;
const CHotkeyNotAssigned = '3';
begin
if FCurrentHotkey = (HK_ALT or HK_SHIFT) then MatchValue := '1'
@ -1031,7 +1031,6 @@ begin
FLanguageToggle := CHotkeyNotAssigned;
FLayoutToggle := CHotkeyNotAssigned;
//FFixed := False;
FReset := False;
KeyboardToggleReg := TRegistryErrorControlled.Create; // I2890