diff options
author | George Hazan <ghazan@miranda.im> | 2019-01-09 20:20:56 +0200 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-01-09 20:20:56 +0200 |
commit | ac9a3bc8834ceab43c9948c70cd0454460bbbdcd (patch) | |
tree | 148298bcd8248168d423523b888a95760b434585 /protocols/Icq10/src/options.cpp | |
parent | da99747eddef9c1c53c395406ec850d1b13f8e0a (diff) |
ICQ10:
- fixes #1739 (Miranda doesn't react to renamed contact)
- code cleaning
Diffstat (limited to 'protocols/Icq10/src/options.cpp')
-rw-r--r-- | protocols/Icq10/src/options.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/protocols/Icq10/src/options.cpp b/protocols/Icq10/src/options.cpp index 57ef15c9b2..6eaa2e6114 100644 --- a/protocols/Icq10/src/options.cpp +++ b/protocols/Icq10/src/options.cpp @@ -156,6 +156,7 @@ void CIcqProto::OnLoginViaPhone(NETLIBHTTPREQUEST *pReply, AsyncHttpRequest *pRe class CIcqOptionsDlg : public CProtoDlgBase<CIcqProto> { CCtrlEdit edtUin, edtPassword; + CCtrlCheck chkUseFriendly; CCtrlButton btnCreate; CMStringW wszOldPass; @@ -164,12 +165,15 @@ public: CProtoDlgBase<CIcqProto>(ppro, iDlgID), edtUin(this, IDC_UIN), btnCreate(this, IDC_REGISTER), - edtPassword(this, IDC_PASSWORD) + edtPassword(this, IDC_PASSWORD), + chkUseFriendly(this, IDC_USEFRIENDLY) { btnCreate.OnClick = Callback(this, &CIcqOptionsDlg::onClick_Register); CreateLink(edtUin, ppro->m_dwUin); CreateLink(edtPassword, ppro->m_szPassword); + if (bFullDlg) + CreateLink(chkUseFriendly, ppro->m_bUseFriendly); wszOldPass = ppro->m_szPassword; } |