diff options
author | George Hazan <george.hazan@gmail.com> | 2024-11-12 14:22:23 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-11-12 14:22:23 +0300 |
commit | 72d8c90f2e08eb425b8fd8c43a1c69ab903ea16c (patch) | |
tree | 826bc1ea8dc7be3cf3a5851b58935c9568b99d5c | |
parent | 2623684b3f63e915fad9791bcb7a0d8c3606ed2f (diff) |
traces of old non-existent options removed
-rw-r--r-- | src/mir_app/src/srmm_util.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
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);
}
|