summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/src/modern_clisttray.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-12-09 23:02:26 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-12-09 23:02:26 +0000
commitf59c5ef32703780535d23e6c770a02d9140d8b1e (patch)
tree9b3481abc8f5c968d158c0ff0be64c0d3efb7397 /plugins/Clist_modern/src/modern_clisttray.cpp
parent6a92c3c124f9fecf0c95bbce979fc8f7a37f5f4d (diff)
crazy little thing called clist_modern
git-svn-id: http://svn.miranda-ng.org/main/trunk@11312 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern/src/modern_clisttray.cpp')
-rw-r--r--plugins/Clist_modern/src/modern_clisttray.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/plugins/Clist_modern/src/modern_clisttray.cpp b/plugins/Clist_modern/src/modern_clisttray.cpp
index 9e8c698f7e..b02851a82c 100644
--- a/plugins/Clist_modern/src/modern_clisttray.cpp
+++ b/plugins/Clist_modern/src/modern_clisttray.cpp
@@ -216,10 +216,8 @@ int cliTrayCalcChanged(const char *szChangedProto, int averageMode, int netProto
return pcli->pfnTrayIconSetBaseInfo(hIcon, szChangedProto);
}
else if (pcli->pfnGetProtocolVisibility(szChangedProto)) {
- int avg = pcli->pfnGetAverageMode(NULL);
int i = pcli->pfnTrayIconSetBaseInfo(cliGetIconFromStatusMode(NULL, szChangedProto, CallProtoService(szChangedProto, PS_GETSTATUS, 0, 0)), szChangedProto);
if (i < 0) {
- Netlib_Logf(NULL, "Connection icon disabled for %s", szChangedProto);
pcli->pfnTrayIconDestroy(hwnd);
pcli->pfnTrayIconInit(hwnd);
return -1;