[vlc-commits] Qt, small code simplification
Jean-Baptiste Kempf
git at videolan.org
Wed Apr 27 13:39:29 CEST 2011
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Apr 27 12:37:12 2011 +0200| [8ab5010365d756b1c3fe4c22584e8a1f9bf235f1] | committer: Jean-Baptiste Kempf
Qt, small code simplification
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8ab5010365d756b1c3fe4c22584e8a1f9bf235f1
---
modules/gui/qt4/components/playlist/playlist.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/gui/qt4/components/playlist/playlist.cpp b/modules/gui/qt4/components/playlist/playlist.cpp
index 7fc0f58..c2d6334 100644
--- a/modules/gui/qt4/components/playlist/playlist.cpp
+++ b/modules/gui/qt4/components/playlist/playlist.cpp
@@ -87,7 +87,7 @@ PlaylistWidget::PlaylistWidget( intf_thread_t *_p_i, QWidget *_par )
/* Initialisation of the playlist */
playlist_t * p_playlist = THEPL;
PL_LOCK;
- playlist_item_t *p_root = THEPL->p_playing;
+ playlist_item_t *p_root = p_playlist->p_playing;
PL_UNLOCK;
setMinimumWidth( 400 );
@@ -148,7 +148,7 @@ PlaylistWidget::PlaylistWidget( intf_thread_t *_p_i, QWidget *_par )
mainView, setRoot( playlist_item_t * ) );
mainView->setRoot( p_root );
-
+ /* */
split = new PlaylistSplitter( this );
/* Add the two sides of the QSplitter */
More information about the vlc-commits
mailing list