diff options
author | George Hazan <ghazan@miranda.im> | 2020-03-30 16:52:28 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2020-03-30 16:52:28 +0300 |
commit | 64303ec8f7d8fd491247a2c06ee133e4f5f3c942 (patch) | |
tree | fd57755518819e33a7ed03c8fef389396c0d61df /plugins/TabSRMM/src/generic_msghandlers.cpp | |
parent | 1043ccf5d184151af43a417cd6e6c1a800b678dd (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/TabSRMM/src/generic_msghandlers.cpp')
-rw-r--r-- | plugins/TabSRMM/src/generic_msghandlers.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/TabSRMM/src/generic_msghandlers.cpp b/plugins/TabSRMM/src/generic_msghandlers.cpp index 794f214921..499a0883fb 100644 --- a/plugins/TabSRMM/src/generic_msghandlers.cpp +++ b/plugins/TabSRMM/src/generic_msghandlers.cpp @@ -712,8 +712,8 @@ HWND CMsgDialog::DM_CreateClist() if (hItem) SendMessage(hwndClist, CLM_SETCHECKMARK, (WPARAM)hItem, 1); - SendMessage(hwndClist, CLM_SETHIDEEMPTYGROUPS, db_get_b(0, "CList", "HideEmptyGroups", SETTING_USEGROUPS_DEFAULT), 0); - SendMessage(hwndClist, CLM_SETUSEGROUPS, db_get_b(0, "CList", "UseGroups", SETTING_USEGROUPS_DEFAULT), 0); + SendMessage(hwndClist, CLM_SETHIDEEMPTYGROUPS, Clist::HideEmptyGroups, 0); + SendMessage(hwndClist, CLM_SETUSEGROUPS, Clist::UseGroups, 0); SendMessage(hwndClist, CLM_FIRST + 106, 0, 1); SendMessage(hwndClist, CLM_AUTOREBUILD, 0, 0); if (hwndClist) |