From 50828c595b4967074a9e0e3cef8cef1b64c9d2e1 Mon Sep 17 00:00:00 2001 From: Christian Wieninger Date: Sun, 8 Jan 2012 20:39:07 +0100 Subject: sort search timers by timer priority and search term --- searchtimer_thread.c | 1 + 1 file changed, 1 insertion(+) (limited to 'searchtimer_thread.c') diff --git a/searchtimer_thread.c b/searchtimer_thread.c index cd73cae..af67988 100644 --- a/searchtimer_thread.c +++ b/searchtimer_thread.c @@ -241,6 +241,7 @@ void cSearchTimerThread::Action(void) // for thread safeness we work with a copy of the current searches, // because SVDRP would not work if the main thread would be locked cSearchExts* localSearchExts = SearchExts.Clone(); + localSearchExts->SortBy(CompareSearchExtPrioDescTerm); cSearchExt *searchExt = localSearchExts->First(); // reset announcelist announceList.Clear(); -- cgit v1.2.3