summaryrefslogtreecommitdiff
path: root/plugins/QuickContacts/src/quickcontacts.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/QuickContacts/src/quickcontacts.cpp')
-rw-r--r--plugins/QuickContacts/src/quickcontacts.cpp5
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);