From 38d6a2b9cef6a1d104984e45e592dc7c4ba2f5aa Mon Sep 17 00:00:00 2001 From: Jacek Jendrzej Date: Thu, 26 Apr 2012 13:42:55 +0200 Subject: [PATCH] eventlist.cpp: sort titele by time Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/2f3ff624f10c67bbcf41e72d21ec042878171eec Author: Jacek Jendrzej Date: 2012-04-26 (Thu, 26 Apr 2012) --- src/gui/eventlist.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/eventlist.cpp b/src/gui/eventlist.cpp index d423d3d9d..ce1e11e78 100644 --- a/src/gui/eventlist.cpp +++ b/src/gui/eventlist.cpp @@ -78,7 +78,7 @@ bool sortById (const CChannelEvent& a, const CChannelEvent& b) inline bool sortByDescription (const CChannelEvent& a, const CChannelEvent& b) { if(a.description == b.description) - return a.eventID < b.eventID; + return a.startTime < b.startTime; else return a.description < b.description ; }