Commit db52627c authored by Rémi Duraffort's avatar Rémi Duraffort

Fix the playlist column problem added in...

Fix the playlist column problem added in 7bc28eeb pointed out by phytos and JPeg.
parent 0c199e15
......@@ -813,13 +813,14 @@ void PLModel::popup( QModelIndex & index, QPoint &point, QModelIndexList list )
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(); */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment