mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 00:41:17 +02:00
eventlist.cpp: sort titele by time
This commit is contained in:
@@ -78,7 +78,7 @@ bool sortById (const CChannelEvent& a, const CChannelEvent& b)
|
|||||||
inline bool sortByDescription (const CChannelEvent& a, const CChannelEvent& b)
|
inline bool sortByDescription (const CChannelEvent& a, const CChannelEvent& b)
|
||||||
{
|
{
|
||||||
if(a.description == b.description)
|
if(a.description == b.description)
|
||||||
return a.eventID < b.eventID;
|
return a.startTime < b.startTime;
|
||||||
else
|
else
|
||||||
return a.description < b.description ;
|
return a.description < b.description ;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user