summaryrefslogtreecommitdiff
path: root/src/mir_app
diff options
context:
space:
mode:
Diffstat (limited to 'src/mir_app')
-rw-r--r--src/mir_app/src/clui.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/mir_app/src/clui.cpp b/src/mir_app/src/clui.cpp
index e45196aafd..23890363a2 100644
--- a/src/mir_app/src/clui.cpp
+++ b/src/mir_app/src/clui.cpp
@@ -33,7 +33,6 @@ extern HANDLE hEventExtraClick;
static HMODULE hUserDll;
static HANDLE hContactDraggingEvent, hContactDroppedEvent, hContactDragStopEvent;
-static bool bSetOfflineIcons = false;
static int transparentFocus = 1;
UINT uMsgProcessProfile;
@@ -797,10 +796,7 @@ LRESULT CALLBACK fnContactListWndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM
return TRUE;
case CLN_LISTREBUILT:
- if (!bSetOfflineIcons) {
- bSetOfflineIcons = true;
- cli.pfnSetAllExtraIcons(NULL);
- }
+ cli.pfnSetAllExtraIcons(NULL);
return FALSE;
case NM_KEYDOWN: