#include <QStackedLayout>
#include <QSignalMapper>
#include <QSettings>
-#include <QScrollBar>
#include <assert.h>
DCONNECT( THEMIM, leafBecameParent( int ),
this, browseInto( int ) );
- CONNECT( model, currentChanged( const QModelIndex& ),
+ CONNECT( model, currentIndexChanged( const QModelIndex& ),
this, handleExpansion( const QModelIndex& ) );
CONNECT( model, rootChanged(), this, browseInto() );
currentView->setModel( mlmodel );
}
else
+#else
+ Q_UNUSED( b );
#endif
{
msg_Dbg( p_intf, "Normal PL/ML or SD" );
if( currentView->model() != mod )
currentView->setModel( mod );
#else
+ Q_UNUSED( b_ml );
if( currentView->model() != model )
currentView->setModel( model );
#endif
return PICTUREFLOW_VIEW;
}
-int StandardPLPanel::getScrollBarsSize() const
-{
- /* FIXME: should return a set in case of different widths */
- return currentView->verticalScrollBar()->sizeHint().width();
-}
-
void StandardPLPanel::cycleViews()
{
if( currentView == iconView )
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 );