Commit ec6df3cd authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt, playlist: rename a method to match Qt's style

parent a0c06b1d
......@@ -230,7 +230,7 @@ void PlaylistWidget::changeView( const QModelIndex& index )
{
searchEdit->clear();
locationBar->setIndex( index );
int i = mainView->getViewNumber();
int i = mainView->currentViewIndex();
viewActions[i]->setChecked(true);
}
......
......@@ -378,7 +378,7 @@ void StandardPLPanel::showView( int i_view )
gotoPlayingItem();
}
const int StandardPLPanel::getViewNumber()
const int StandardPLPanel::currentViewIndex()
{
if( currentView == treeView )
return TREE_VIEW;
......
......@@ -67,7 +67,7 @@ public:
PICTUREFLOW_VIEW,
VIEW_COUNT };
const int getViewNumber();
const int currentViewIndex();
protected:
......
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