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/TrafficCounter/src/TrafficCounter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/TrafficCounter/src') diff --git a/plugins/TrafficCounter/src/TrafficCounter.cpp b/plugins/TrafficCounter/src/TrafficCounter.cpp index cb76adfffc..782b99e40d 100644 --- a/plugins/TrafficCounter/src/TrafficCounter.cpp +++ b/plugins/TrafficCounter/src/TrafficCounter.cpp @@ -1170,7 +1170,7 @@ static int TrafficCounterModulesLoaded(WPARAM, LPARAM) hkd.szDescription.a = LPGEN("Show/Hide frame"); hkd.pszName = "TC_Show_Hide"; hkd.pszService = "TrafficCounter/ShowHide"; - Hotkey_Register(&hkd); + g_plugin.addHotkey(&hkd); } // Добавляем пункт в главное меню. -- cgit v1.2.3