summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/globals.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-08-02 15:14:37 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-08-02 15:14:37 +0000
commitc3a6ce0476f75bd3b5df4e721e8d0bcb6e3a8989 (patch)
tree3313bba2a9e5e5c0bd5d5a05738d558943890df7 /plugins/TabSRMM/src/globals.cpp
parent88f7ddde0024f0bac97fe06b6529ebb3241b626e (diff)
- unused parameter removed;
- function updateMeta() made more intellectual: if the sub's change detected, it'd renew all dependent info git-svn-id: http://svn.miranda-ng.org/main/trunk@10022 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/globals.cpp')
-rw-r--r--plugins/TabSRMM/src/globals.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/plugins/TabSRMM/src/globals.cpp b/plugins/TabSRMM/src/globals.cpp
index 54d0b9da6c..718b289fe3 100644
--- a/plugins/TabSRMM/src/globals.cpp
+++ b/plugins/TabSRMM/src/globals.cpp
@@ -433,10 +433,8 @@ int CGlobals::DBSettingChanged(WPARAM hContact, LPARAM lParam)
}
if (lstrlenA(setting) > 6 && lstrlenA(setting) < 9 && !strncmp(setting, "Status", 6)) {
fChanged = true;
- if (c) {
- c->updateMeta(true);
- c->updateUIN();
- }
+ if (c)
+ c->updateMeta();
}
else if (!strcmp(setting, "MirVer"))
PostMessage(hwnd, DM_CLIENTCHANGED, 0, 0);
@@ -495,9 +493,8 @@ int CGlobals::MetaContactEvent(WPARAM hContact, LPARAM lParam)
if (hContact) {
CContactCache *c = CContactCache::getContactCache(hContact);
if (c) {
- c->updateMeta(true);
+ c->updateMeta();
if (c->getHwnd()) {
- c->updateUIN(); // only do this for open windows, not needed normally
::PostMessage(c->getHwnd(), DM_UPDATETITLE, 0, 0);
::PostMessage(c->getHwnd(), DM_UPDATEPICLAYOUT, 0, 0);
}