[vlc-commits] Qt: standardpanel: remove warnings
Francois Cartegnie
git at videolan.org
Wed Sep 7 14:38:35 CEST 2011
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Sep 7 14:40:00 2011 +0200| [e899307d9c84da328b409ef302603a3c1afae849] | committer: Francois Cartegnie
Qt: standardpanel: remove warnings
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e899307d9c84da328b409ef302603a3c1afae849
---
.../gui/qt4/components/playlist/standardpanel.cpp | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/modules/gui/qt4/components/playlist/standardpanel.cpp b/modules/gui/qt4/components/playlist/standardpanel.cpp
index 63612eb..0e8a697 100644
--- a/modules/gui/qt4/components/playlist/standardpanel.cpp
+++ b/modules/gui/qt4/components/playlist/standardpanel.cpp
@@ -189,6 +189,8 @@ void StandardPLPanel::setRoot( playlist_item_t *p_item, bool b )
currentView->setModel( mlmodel );
}
else
+#else
+ Q_UNUSED( b );
#endif
{
msg_Dbg( p_intf, "Normal PL/ML or SD" );
@@ -352,6 +354,7 @@ void StandardPLPanel::changeModel( bool b_ml )
if( currentView->model() != mod )
currentView->setModel( mod );
#else
+ Q_UNUSED( b_ml );
if( currentView->model() != model )
currentView->setModel( model );
#endif
More information about the vlc-commits
mailing list