summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/skype_options.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-04-09 20:04:12 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-04-09 20:04:12 +0000
commit84261a1bda35dcdd1a4e56c3a573a169092f7363 (patch)
tree24031582c3cc692e87b2c33edc58862dc0be55e1 /protocols/SkypeWeb/src/skype_options.cpp
parent5504428ab29cacbdc8bb7ca704e6108638bf4ecf (diff)
SkypeWeb: attempt to speed up contact lookup
git-svn-id: http://svn.miranda-ng.org/main/trunk@12717 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/skype_options.cpp')
-rw-r--r--protocols/SkypeWeb/src/skype_options.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/protocols/SkypeWeb/src/skype_options.cpp b/protocols/SkypeWeb/src/skype_options.cpp
index b45e9ca2d9..0d8d24861d 100644
--- a/protocols/SkypeWeb/src/skype_options.cpp
+++ b/protocols/SkypeWeb/src/skype_options.cpp
@@ -5,11 +5,10 @@ CSkypeOptionsMain::CSkypeOptionsMain(CSkypeProto *proto, int idDialog, HWND hwnd
m_skypename(this, IDC_SKYPENAME),
m_password(this, IDC_PASSWORD),
m_group(this, IDC_GROUP),
- m_autosync(this, IDC_CHECK2)
+ m_autosync(this, IDC_AUTOSYNC)
{
- //CreateLink(m_skypename, SKYPE_SETTINGS_ID, _T(""));
- //CreateLink(m_password, "Password", _T(""));
CreateLink(m_group, SKYPE_SETTINGS_GROUP, _T("Skype"));
+ CreateLink(m_autosync, "AutoSync", DBVT_BYTE, 1);
}
void CSkypeOptionsMain::OnInitDialog()
@@ -18,7 +17,6 @@ void CSkypeOptionsMain::OnInitDialog()
m_skypename.SetTextA(ptrA(m_proto->getStringA(SKYPE_SETTINGS_ID)));
m_password.SetTextA(ptrA(m_proto->getStringA("Password")));
- m_autosync.SetState(m_proto->getByte("AutoSync", 1));
SendMessage(m_skypename.GetHwnd(), EM_LIMITTEXT, 32, 0);
SendMessage(m_password.GetHwnd(), EM_LIMITTEXT, 20, 0);
@@ -30,7 +28,6 @@ void CSkypeOptionsMain::OnApply()
{
m_proto->setString(SKYPE_SETTINGS_ID, m_skypename.GetTextA());
m_proto->setString("Password", m_password.GetTextA());
- m_proto->setByte("AutoSync", m_autosync.GetState());
TCHAR *group = m_group.GetText();
if (mir_tstrlen(group) > 0 && !Clist_GroupExists(group))
Clist_CreateGroup(0, group);