summaryrefslogtreecommitdiff
path: root/plugins/Clist_mw/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Clist_mw/src')
-rw-r--r--plugins/Clist_mw/src/contact.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/plugins/Clist_mw/src/contact.cpp b/plugins/Clist_mw/src/contact.cpp
index a45d7152c8..4015a1b997 100644
--- a/plugins/Clist_mw/src/contact.cpp
+++ b/plugins/Clist_mw/src/contact.cpp
@@ -154,20 +154,11 @@ int CompareContacts( const struct ClcContact *contact1, const struct ClcContact
#undef SAFESTRING
-static UINT_PTR resortTimerId = 0;
-static VOID CALLBACK SortContactsTimer(HWND hwnd,UINT message,UINT_PTR idEvent,DWORD dwTime)
-{
- KillTimer(NULL,resortTimerId);
- resortTimerId = 0;
-}
-
void SortContacts(void)
{
//avoid doing lots of resorts in quick succession
sortByStatus = db_get_b(NULL,"CList","SortByStatus",SETTING_SORTBYSTATUS_DEFAULT);
sortByProto = db_get_b(NULL,"CList","SortByProto",SETTING_SORTBYPROTO_DEFAULT);
- if (resortTimerId) KillTimer(NULL,resortTimerId);
- resortTimerId = SetTimer(NULL,0,50,SortContactsTimer);
}
INT_PTR ContactChangeGroup(WPARAM wParam,LPARAM lParam)