summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/src/modern_clcitems.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2016-04-14 15:11:35 +0000
committerGeorge Hazan <george.hazan@gmail.com>2016-04-14 15:11:35 +0000
commit6c174c43ea46ffdd89fcfbe6cdd0497a64b06fc9 (patch)
tree7feed44f643806c47b30de87e0ce955e952209cb /plugins/Clist_modern/src/modern_clcitems.cpp
parent583f3768d24ceb7b0bee451f9a0975d25f826ee6 (diff)
code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@16653 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern/src/modern_clcitems.cpp')
-rw-r--r--plugins/Clist_modern/src/modern_clcitems.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/plugins/Clist_modern/src/modern_clcitems.cpp b/plugins/Clist_modern/src/modern_clcitems.cpp
index 138822e1c5..d393cd87dc 100644
--- a/plugins/Clist_modern/src/modern_clcitems.cpp
+++ b/plugins/Clist_modern/src/modern_clcitems.cpp
@@ -104,12 +104,6 @@ int cli_AddItemToGroup(ClcGroup *group, int iAboveItem)
ClcGroup* cli_AddGroup(HWND hwnd, ClcData *dat, const TCHAR *szName, DWORD flags, int groupId, int calcTotalMembers)
{
ClearRowByIndexCache();
- if (!dat->force_in_dialog && !(GetWindowLongPtr(hwnd, GWL_STYLE) & CLS_SHOWHIDDEN))
- if (!mir_tstrcmp(_T("-@-HIDDEN-GROUP-@-"), szName)) { //group is hidden
- ClearRowByIndexCache();
- return NULL;
- }
-
ClcGroup *result = corecli.pfnAddGroup(hwnd, dat, szName, flags, groupId, calcTotalMembers);
ClearRowByIndexCache();
return result;