From 72d8c90f2e08eb425b8fd8c43a1c69ab903ea16c Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 12 Nov 2024 14:22:23 +0300 Subject: traces of old non-existent options removed --- src/mir_app/src/srmm_util.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'src') diff --git a/src/mir_app/src/srmm_util.cpp b/src/mir_app/src/srmm_util.cpp index 884f19e7eb..7d499245a4 100644 --- a/src/mir_app/src/srmm_util.cpp +++ b/src/mir_app/src/srmm_util.cpp @@ -67,14 +67,7 @@ MIR_APP_DLL(void) Srmm_CreateHotkey(const char *pszSection, const char *pszDescr { g_pszHotkeySection = pszSection; - uint16_t wHotKey = HOTKEYCODE(0, VK_RETURN); - if (db_get_b(0, SRMSGMOD, "SendOnCtrlEnter")) - wHotKey = HOTKEYCODE(HOTKEYF_CONTROL, VK_RETURN); - - if (db_get_b(0, "Tab_SRMsg", "sendonshiftenter")) - wHotKey = HOTKEYCODE(HOTKEYF_SHIFT, VK_RETURN); - - HOTKEYDESC hd = { "tabsrmm_send", pszDescription, pszSection, 0, wHotKey, 0, 100 }; + HOTKEYDESC hd = { "tabsrmm_send", pszDescription, pszSection, 0, HOTKEYCODE(0, VK_RETURN), 0, 100 }; Hotkey_Register(&hd, g_pChatPlugin); } -- cgit v1.2.3