summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/contactcache.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/TabSRMM/src/contactcache.cpp')
-rw-r--r--plugins/TabSRMM/src/contactcache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/TabSRMM/src/contactcache.cpp b/plugins/TabSRMM/src/contactcache.cpp
index 34ed805db0..e2806b01ee 100644
--- a/plugins/TabSRMM/src/contactcache.cpp
+++ b/plugins/TabSRMM/src/contactcache.cpp
@@ -527,7 +527,7 @@ HICON CContactCache::getIcon(int &iSize) const
if (m_dat->m_bCanFlashTab)
return m_dat->m_iFlashIcon;
- if (m_dat->si && m_dat->m_iFlashIcon) {
+ if (m_dat->isChat() && m_dat->m_iFlashIcon) {
int sizeX, sizeY;
Utils::getIconSize(m_dat->m_iFlashIcon, sizeX, sizeY);
iSize = sizeX;