diff options
author | George Hazan <ghazan@miranda.im> | 2017-09-18 18:33:09 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-09-18 18:33:09 +0300 |
commit | 3e9e96f6718b13c069138fb40f24f065ac03c6b7 (patch) | |
tree | d09301e8d63cf2bc70601fe683992440d4e2e086 /plugins/QuickContacts/src/quickcontacts.cpp | |
parent | b5de62080a2384e9f66d7bafbf971aa5b4b7c0c1 (diff) |
unneeded calls of DestroyServiceFunction() removed
Diffstat (limited to 'plugins/QuickContacts/src/quickcontacts.cpp')
-rw-r--r-- | plugins/QuickContacts/src/quickcontacts.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/plugins/QuickContacts/src/quickcontacts.cpp b/plugins/QuickContacts/src/quickcontacts.cpp index d6b05ccb77..b4e00128f5 100644 --- a/plugins/QuickContacts/src/quickcontacts.cpp +++ b/plugins/QuickContacts/src/quickcontacts.cpp @@ -44,7 +44,6 @@ int hLangpack = 0; HANDLE hModulesLoaded = NULL;
HANDLE hEventAdded = NULL;
HANDLE hHotkeyPressed = NULL;
-HANDLE hQSShowDialog = NULL;
long main_dialog_open = 0;
HWND hwndMain = NULL;
@@ -81,7 +80,7 @@ extern "C" __declspec(dllexport) int Load() mir_getLP(&pluginInfo);
pcli = Clist_GetInterface();
- hQSShowDialog = CreateServiceFunction(MS_QC_SHOW_DIALOG, ShowDialog);
+ CreateServiceFunction(MS_QC_SHOW_DIALOG, ShowDialog);
// hooks
hModulesLoaded = HookEvent(ME_SYSTEM_MODULESLOADED, ModulesLoaded);
@@ -96,8 +95,6 @@ extern "C" __declspec(dllexport) int Unload(void) DeInitOptions();
- DestroyServiceFunction(hQSShowDialog);
-
UnhookEvent(hModulesLoaded);
UnhookEvent(hEventAdded);
|