vlc | branch: master | Alexandre Janniaux <[email protected]> | Thu Jul 25 
01:14:51 2019 +0200| [c49140dcff3a2ba2729cec8756c7f78b198d50c9] | committer: 
Jean-Baptiste Kempf

qt: EPGChannels: use std::sort instead of qSort

Signed-off-by: Jean-Baptiste Kempf <[email protected]>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c49140dcff3a2ba2729cec8756c7f78b198d50c9
---

 modules/gui/qt/components/epg/EPGChannels.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gui/qt/components/epg/EPGChannels.cpp 
b/modules/gui/qt/components/epg/EPGChannels.cpp
index bb1272916a..97319486fc 100644
--- a/modules/gui/qt/components/epg/EPGChannels.cpp
+++ b/modules/gui/qt/components/epg/EPGChannels.cpp
@@ -50,7 +50,7 @@ void EPGChannels::addProgram( const EPGProgram *program )
     if ( !programsList.contains( program ) )
     {
         programsList << program;
-        qSort(programsList.begin(), programsList.end(), EPGProgram::lessThan);
+        std::sort(programsList.begin(), programsList.end(), 
EPGProgram::lessThan);
         update();
     }
 }

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to