[vlc-devel] commit: Fix the playlist column problem added in 7bc28eebe843ef72304a7ec4bb7e89a12a17187a pointed out by phytos and JPeg . ( Rémi Duraffort )
git version control
git at videolan.org
Sun May 4 12:24:50 CEST 2008
vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Sun May 4 12:25:50 2008 +0200| [db52627c333f91f5392e29d3616fd10030fbb5ea]
Fix the playlist column problem added in 7bc28eebe843ef72304a7ec4bb7e89a12a17187a pointed out by phytos and JPeg.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=db52627c333f91f5392e29d3616fd10030fbb5ea
---
.../gui/qt4/components/playlist/playlist_model.cpp | 5 +++--
1 files 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 0191ae7..d32c4d0 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(); */
More information about the vlc-devel
mailing list