summaryrefslogtreecommitdiff
path: root/plugins/ContactsPlus
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2020-03-30 16:52:28 +0300
committerGeorge Hazan <ghazan@miranda.im>2020-03-30 16:52:28 +0300
commit64303ec8f7d8fd491247a2c06ee133e4f5f3c942 (patch)
treefd57755518819e33a7ed03c8fef389396c0d61df /plugins/ContactsPlus
parent1043ccf5d184151af43a417cd6e6c1a800b678dd (diff)
Contact lists:
- all common options moved to the Clist namespace; - fixes #2281 (Add option to not clear "NotOnList" group at start);
Diffstat (limited to 'plugins/ContactsPlus')
-rw-r--r--plugins/ContactsPlus/src/send.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/plugins/ContactsPlus/src/send.cpp b/plugins/ContactsPlus/src/send.cpp
index c082aca4b7..f53fbfe44a 100644
--- a/plugins/ContactsPlus/src/send.cpp
+++ b/plugins/ContactsPlus/src/send.cpp
@@ -200,10 +200,7 @@ static void SetAllContactChecks(HWND hwndList, MCONTACT hReceiver) // doubtful n
if (szProto == nullptr)
return;
- if (db_get_b(0, "CList", "HideEmptyGroups", SETTING_USEGROUPS_DEFAULT))
- SendMessage(hwndList, CLM_SETHIDEEMPTYGROUPS, TRUE, 0);
- else
- SendMessage(hwndList, CLM_SETHIDEEMPTYGROUPS, FALSE, 0);
+ SendMessage(hwndList, CLM_SETHIDEEMPTYGROUPS, Clist::HideEmptyGroups, 0);
MCONTACT hItem, hContact = FindFirstClistContact(hwndList, &hItem);
while (hContact) {