From: RĂ©mi Duraffort Date: Tue, 26 Feb 2008 09:39:01 +0000 (+0000) Subject: Fix a little bug with the sorting in the interface X-Git-Tag: 0.9.0-test0~2476 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=dace72768543ff49e97198693db6af0865198796;p=vlc Fix a little bug with the sorting in the interface --- 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 )