diff options
author | George Hazan <ghazan@miranda.im> | 2020-03-22 12:52:22 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2020-03-22 12:52:22 +0300 |
commit | bb0498bf6aa0accd22bbc19091a12d54602a52be (patch) | |
tree | 121ce8d5ad87121bb7dd18d5ba8be657a23606b0 /plugins/TabSRMM/src/infopanel.cpp | |
parent | 3bb36572408b63efac44da01a26c9bfa3d3b5e79 (diff) |
tabSRMM: removed all checks if m_hContact == 0, because it never happens
Diffstat (limited to 'plugins/TabSRMM/src/infopanel.cpp')
-rw-r--r-- | plugins/TabSRMM/src/infopanel.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/plugins/TabSRMM/src/infopanel.cpp b/plugins/TabSRMM/src/infopanel.cpp index 18d6fdb55d..dfa76b980d 100644 --- a/plugins/TabSRMM/src/infopanel.cpp +++ b/plugins/TabSRMM/src/infopanel.cpp @@ -218,11 +218,6 @@ void CInfoPanel::showHide() const bool CInfoPanel::getVisibility()
{
- if (m_dat->m_hContact == 0) {
- setActive(false); // no info panel, if no hcontact
- return false;
- }
-
BYTE bDefault = (m_dat->m_pContainer->m_flags.m_bInfoPanel) ? 1 : 0;
BYTE bContact = M.GetByte(m_dat->m_hContact, "infopanel", 0);
|