int i_index = -1;
int i_flag = 0;
+ // FIXME: Disable sorting on startup by ignoring
+ // first call of sorting caused by showing dialog
+ // see: standardpanel.cpp:65
+ static bool b_first_time = true;
+ if( b_first_time )
+ {
+ b_first_time = false;
+ return;
+ }
+
#define CHECK_COLUMN( meta ) \
{ \
if( ( shownFlags() & meta ) ) \
void PLModel::viewchanged( int meta )
{
assert( meta );
+ int _meta = meta;
if( rootItem )
{
int index=-1;
- while( meta )
+ while( _meta )
{
index++;
- meta >>= 1;
+ _meta >>= 1;
}
/* UNUSED emit layoutAboutToBeChanged(); */
{
playlist_item_t *p_item = playlist_ItemGetById( p_playlist,
i_popup_item,
- true );
+ false );
if( p_item )
{
MediaInfoDialog *mid = new MediaInfoDialog( p_intf, p_item->p_input );