]> git.sesse.net Git - vlc/commitdiff
Fix the playlist column problem added in 7bc28eebe843ef72304a7ec4bb7e89a12a17187a...
authorRémi Duraffort <ivoire@videolan.org>
Sun, 4 May 2008 10:25:50 +0000 (12:25 +0200)
committerRémi Duraffort <ivoire@videolan.org>
Sun, 4 May 2008 10:26:39 +0000 (12:26 +0200)
modules/gui/qt4/components/playlist/playlist_model.cpp

index 0191ae76a5599a130386b33fc379d07d69180ae8..d32c4d08375bd81c6b657d94c4348a500bfa19a6 100644 (file)
@@ -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(); */