Commit 6fcdfb04 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: Deactivate coverflow for releases until someone actually fixes it

parent caa34346
......@@ -126,7 +126,12 @@ PlaylistWidget::PlaylistWidget( intf_thread_t *_p_i, QWidget *_par )
QActionGroup *actionGroup = new QActionGroup( this );
for( int i = 0; i < StandardPLPanel::VIEW_COUNT; i++ )
#ifndef NDEBUG
# define MAX_VIEW StandardPLPanel::VIEW_COUNT
#else
# define MAX_VIEW StandardPLPanel::VIEW_COUNT - 1
#endif
for( int i = 0; i < MAX_VIEW; i++ )
{
viewActions[i] = actionGroup->addAction( viewNames[i] );
viewActions[i]->setCheckable( true );
......
......@@ -421,8 +421,10 @@ void StandardPLPanel::cycleViews()
else if( currentView == treeView )
showView( LIST_VIEW );
else if( currentView == listView )
#ifndef NDEBUG
showView( PICTUREFLOW_VIEW );
else if( currentView == picFlowView )
#endif
showView( ICON_VIEW );
else
assert( 0 );
......
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