From 737d05018bbc2da54414bea0c2ccce6f1e15bde2 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 22 May 2018 17:14:39 +0300 Subject: Hotkey_Register => CMPlugin::addHotkey --- plugins/Popup/src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/Popup/src') diff --git a/plugins/Popup/src/main.cpp b/plugins/Popup/src/main.cpp index 616ef9834d..aca148afb2 100644 --- a/plugins/Popup/src/main.cpp +++ b/plugins/Popup/src/main.cpp @@ -216,13 +216,13 @@ void LoadHotkey() hk.szDescription.w = LPGENW("Toggle Popups"); hk.szSection.w = MODULNAME_PLUW; hk.pszService = MENUCOMMAND_SVC; - Hotkey_Register(&hk); + g_plugin.addHotkey(&hk); // 'Popup History' Hotkey hk.pszName = "Popup History"; hk.szDescription.w = LPGENW("Popup History"); hk.pszService = MENUCOMMAND_HISTORY; - Hotkey_Register(&hk); + g_plugin.addHotkey(&hk); } // menu -- cgit v1.2.3