summaryrefslogtreecommitdiff
path: root/src/modules/clist/contact.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-06-07 21:07:19 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-06-07 21:07:19 +0000
commitb28083bc8180dbbec6a544cd058bf586b1f8adbc (patch)
tree4e118d5894ad224a06605b7fdd6dbb50d438be22 /src/modules/clist/contact.cpp
parente31ac6c82a921e5d972fe3a3d437f18f147877a9 (diff)
useless stubs removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@4900 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/clist/contact.cpp')
-rw-r--r--src/modules/clist/contact.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/modules/clist/contact.cpp b/src/modules/clist/contact.cpp
index c7daba0d76..a66497e895 100644
--- a/src/modules/clist/contact.cpp
+++ b/src/modules/clist/contact.cpp
@@ -132,22 +132,11 @@ int fnCompareContacts(const ClcContact* c1, const ClcContact* c2)
return _tcsicmp(namea, nameb);
}
-static UINT_PTR resortTimerId = 0;
-static VOID CALLBACK SortContactsTimer(HWND, UINT, UINT_PTR, DWORD)
-{
- KillTimer(NULL, resortTimerId);
- resortTimerId = 0;
-}
-
void fnSortContacts(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);
- // setting this to a higher delay causes shutdown waits.
- resortTimerId = SetTimer(NULL, 0, 500, SortContactsTimer);
}
INT_PTR ContactChangeGroup(WPARAM wParam, LPARAM lParam)