Commit e899307d authored by Francois Cartegnie's avatar Francois Cartegnie

Qt: standardpanel: remove warnings

parent 8d3b932e
...@@ -189,6 +189,8 @@ void StandardPLPanel::setRoot( playlist_item_t *p_item, bool b ) ...@@ -189,6 +189,8 @@ void StandardPLPanel::setRoot( playlist_item_t *p_item, bool b )
currentView->setModel( mlmodel ); currentView->setModel( mlmodel );
} }
else else
#else
Q_UNUSED( b );
#endif #endif
{ {
msg_Dbg( p_intf, "Normal PL/ML or SD" ); msg_Dbg( p_intf, "Normal PL/ML or SD" );
...@@ -352,6 +354,7 @@ void StandardPLPanel::changeModel( bool b_ml ) ...@@ -352,6 +354,7 @@ void StandardPLPanel::changeModel( bool b_ml )
if( currentView->model() != mod ) if( currentView->model() != mod )
currentView->setModel( mod ); currentView->setModel( mod );
#else #else
Q_UNUSED( b_ml );
if( currentView->model() != model ) if( currentView->model() != model )
currentView->setModel( model ); currentView->setModel( model );
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment