summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/src/modern_clcitems.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-07-21 19:02:11 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-07-21 19:02:11 +0000
commit45751518e585d351cfec427cc3244768d84844d6 (patch)
tree637baf119fa3e7617da3fbe8fb6d12711156c94b /plugins/Clist_modern/src/modern_clcitems.cpp
parentc5179c928e90cb75feb6846aa55927a8ac85364a (diff)
"Hide offline subcontacts" option removed, subs now inherit the display mode of the usual contacts
git-svn-id: http://svn.miranda-ng.org/main/trunk@9908 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern/src/modern_clcitems.cpp')
-rw-r--r--plugins/Clist_modern/src/modern_clcitems.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/Clist_modern/src/modern_clcitems.cpp b/plugins/Clist_modern/src/modern_clcitems.cpp
index a4ed57af90..0c64572590 100644
--- a/plugins/Clist_modern/src/modern_clcitems.cpp
+++ b/plugins/Clist_modern/src/modern_clcitems.cpp
@@ -46,13 +46,12 @@ void AddSubcontacts(ClcData *dat, ClcContact *cont, BOOL showOfflineHereGroup)
cont->SubAllocated = subcount;
int i = 0;
int bHideOffline = db_get_b(NULL, "CList", "HideOffline", SETTING_HIDEOFFLINE_DEFAULT);
- int bMetaHideOfflineSub = db_get_b(NULL, "CLC", "MetaHideOfflineSub", SETTING_METAHIDEOFFLINESUB_DEFAULT);
for (int j = 0; j < subcount; j++) {
MCONTACT hsub = db_mc_getSub(cont->hContact, j);
cacheEntry = pcli->pfnGetCacheEntry(hsub);
WORD wStatus = pdnce___GetStatus(cacheEntry);
- if (showOfflineHereGroup || (!(bMetaHideOfflineSub && bHideOffline) || wStatus != ID_STATUS_OFFLINE)) {
+ if (showOfflineHereGroup || !bHideOffline || wStatus != ID_STATUS_OFFLINE) {
ClcContact& p = cont->subcontacts[i];
p.hContact = cacheEntry->hContact;