From db52627c333f91f5392e29d3616fd10030fbb5ea Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Duraffort?= Date: Sun, 4 May 2008 12:25:50 +0200 Subject: [PATCH] Fix the playlist column problem added in 7bc28eebe843ef72304a7ec4bb7e89a12a17187a pointed out by phytos and JPeg. --- modules/gui/qt4/components/playlist/playlist_model.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/gui/qt4/components/playlist/playlist_model.cpp b/modules/gui/qt4/components/playlist/playlist_model.cpp index 0191ae76a5..d32c4d0837 100644 --- a/modules/gui/qt4/components/playlist/playlist_model.cpp +++ b/modules/gui/qt4/components/playlist/playlist_model.cpp @@ -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(); */ -- 2.39.2