From ddba4ede6b451d0cfcd0d32b5180fbd0689966bf Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 10 Feb 2014 08:04:30 +0000 Subject: - HANDLE hContact => HCONTACT - GCF_* prefix was added to chat constants to avoid name conflicts git-svn-id: http://svn.miranda-ng.org/main/trunk@8078 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/MirandaG15/src/CContactlistScreen.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'plugins/MirandaG15/src/CContactlistScreen.cpp') diff --git a/plugins/MirandaG15/src/CContactlistScreen.cpp b/plugins/MirandaG15/src/CContactlistScreen.cpp index b9cbebf5b2..d6e733f651 100644 --- a/plugins/MirandaG15/src/CContactlistScreen.cpp +++ b/plugins/MirandaG15/src/CContactlistScreen.cpp @@ -85,7 +85,7 @@ bool CContactlistScreen::Draw(CLCDGfx *pGfx) //************************************************************************ // returns the online status of the specified contact //************************************************************************ -int CContactlistScreen::GetContactStatus(HANDLE hContact) +int CContactlistScreen::GetContactStatus(HCONTACT hContact) { return m_ContactList.GetContactStatus(hContact); } @@ -182,7 +182,7 @@ void CContactlistScreen::OnEventReceived(CEvent *pEvent) //************************************************************************ // Called when a chat session was opened //************************************************************************ -void CContactlistScreen::OnSessionOpened(HANDLE hContact) +void CContactlistScreen::OnSessionOpened(HCONTACT hContact) { m_ContactList.OnMessageCountChanged(hContact); } @@ -253,11 +253,10 @@ void CContactlistScreen::OnLCDButtonUp(int iButton) if(pEntry->GetType() == CONTAINER) { CListContainer *pContainer = (CListContainer*)pEntry; if(pContainer->GetGroupData()->hMetaContact != NULL) { - if(m_bLongPress) { + if(m_bLongPress) pContainer->ToggleOpen(); - } else { + else CAppletManager::GetInstance()->ActivateChatScreen(pContainer->GetGroupData()->hMetaContact); - } } } } -- cgit v1.2.3