From dace72768543ff49e97198693db6af0865198796 Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Duraffort?= Date: Tue, 26 Feb 2008 09:39:01 +0000 Subject: [PATCH] Fix a little bug with the sorting in the interface --- modules/gui/qt4/components/playlist/playlist_model.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/gui/qt4/components/playlist/playlist_model.cpp b/modules/gui/qt4/components/playlist/playlist_model.cpp index 0d1d97dad1..d919e857bf 100644 --- a/modules/gui/qt4/components/playlist/playlist_model.cpp +++ b/modules/gui/qt4/components/playlist/playlist_model.cpp @@ -724,8 +724,8 @@ void PLModel::sort( int column, Qt::SortOrder order ) switch( column ) { case 0: i_mode = SORT_TITLE_NODES_FIRST;break; - case 1: i_mode = SORT_ARTIST;break; - case 2: i_mode = SORT_DURATION; break; + case 1: i_mode = SORT_DURATION; break; + case 2: i_mode = SORT_ARTIST;break; default: i_mode = SORT_TITLE_NODES_FIRST; break; } if( p_root ) -- 2.39.5