diff options
author | George Hazan <ghazan@miranda.im> | 2018-05-22 17:14:39 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-05-22 17:14:39 +0300 |
commit | 737d05018bbc2da54414bea0c2ccce6f1e15bde2 (patch) | |
tree | 35f84ba2f7e3db56618b8925654b9e84593fe4fe /plugins/Popup | |
parent | 869094d2aabef8ab10a1178907cb31ae84f504f9 (diff) |
Hotkey_Register => CMPlugin::addHotkey
Diffstat (limited to 'plugins/Popup')
-rw-r--r-- | plugins/Popup/src/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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
|