#include "components/playlist/playlist_model.hpp"
#include <vlc_intf_strings.h>
-#include "pixmaps/type_unknown.xpm"
-
#include <QSettings>
#include "sorting.h"
QSettings settings( "vlc", "vlc-qt-interface" );
i_showflags = settings.value( "qt-pl-showflags", 39 ).toInt();
if( i_showflags < 1)
- i_showflags = 39; //reasonable default to show something;
+ i_showflags = 39; /* reasonable default to show something; */
+ else if ( i_showflags >= COLUMN_END )
+ i_showflags = COLUMN_END - 1; /* show everything */
+
updateColumnHeaders();
}
}
for( uint32_t i_index=1; i_index < COLUMN_END; i_index <<= 1 )
{
if( i_showflags & i_index )
- item_col_strings.append( psz_column_title( i_index ) );
+ item_col_strings.append( qfu( psz_column_title( i_index ) ) );
}
}
if( parentItem->i_showflags & i_index )
{
char *psz = psz_column_meta( p_item->p_input, i_index );
- item_col_strings.append( psz );
+ item_col_strings.append( qfu( psz ) );
free( psz );
}
}