[vlc-devel] commit: Qt: fix a crash ( #342332 on ubuntu) (Jean-Baptiste Kempf )
git version control
git at videolan.org
Mon Apr 20 21:30:55 CEST 2009
vlc | branch: 0.9-bugfix | Jean-Baptiste Kempf <jb at videolan.org> | Mon Apr 20 21:25:27 2009 +0200| [f802795f5965814ad5aef81719d7e3c340a587a7] | committer: Jean-Baptiste Kempf
Qt: fix a crash ( #342332 on ubuntu)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f802795f5965814ad5aef81719d7e3c340a587a7
---
.../gui/qt4/components/playlist/playlist_model.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/gui/qt4/components/playlist/playlist_model.cpp b/modules/gui/qt4/components/playlist/playlist_model.cpp
index deee520..f1d70be 100644
--- a/modules/gui/qt4/components/playlist/playlist_model.cpp
+++ b/modules/gui/qt4/components/playlist/playlist_model.cpp
@@ -763,7 +763,7 @@ next:
playlist_item_t *p_root = playlist_ItemGetById( p_playlist,
rootItem->i_id,
pl_Locked );
- if( p_root )
+ if( p_root && i_flag )
{
playlist_RecursiveNodeSort( p_playlist, p_root,
i_column_sorting( i_flag ),
More information about the vlc-devel
mailing list