summaryrefslogtreecommitdiff
path: root/protocols/Icq10/src/options.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-01-10 21:10:31 +0200
committerGeorge Hazan <ghazan@miranda.im>2019-01-10 21:10:31 +0200
commit1e86f4d089a1748ce1449074498a283a8639663b (patch)
tree0746fa3af1a43b3063ede213b6b43c10729e58ba /protocols/Icq10/src/options.cpp
parentaec99075210e9d107eb0f4231c0bb040ba6c1eee (diff)
fixes #1740 (ICQ10: add groupchats support)
Diffstat (limited to 'protocols/Icq10/src/options.cpp')
-rw-r--r--protocols/Icq10/src/options.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/protocols/Icq10/src/options.cpp b/protocols/Icq10/src/options.cpp
index 6eaa2e6114..3ff4494232 100644
--- a/protocols/Icq10/src/options.cpp
+++ b/protocols/Icq10/src/options.cpp
@@ -156,7 +156,7 @@ void CIcqProto::OnLoginViaPhone(NETLIBHTTPREQUEST *pReply, AsyncHttpRequest *pRe
class CIcqOptionsDlg : public CProtoDlgBase<CIcqProto>
{
CCtrlEdit edtUin, edtPassword;
- CCtrlCheck chkUseFriendly;
+ CCtrlCheck chkUseFriendly, chkHideChats;
CCtrlButton btnCreate;
CMStringW wszOldPass;
@@ -166,14 +166,17 @@ public:
edtUin(this, IDC_UIN),
btnCreate(this, IDC_REGISTER),
edtPassword(this, IDC_PASSWORD),
+ chkHideChats(this, IDC_HIDECHATS),
chkUseFriendly(this, IDC_USEFRIENDLY)
{
btnCreate.OnClick = Callback(this, &CIcqOptionsDlg::onClick_Register);
CreateLink(edtUin, ppro->m_dwUin);
CreateLink(edtPassword, ppro->m_szPassword);
- if (bFullDlg)
+ if (bFullDlg) {
+ CreateLink(chkHideChats, ppro->m_bHideGroupchats);
CreateLink(chkUseFriendly, ppro->m_bUseFriendly);
+ }
wszOldPass = ppro->m_szPassword;
}