Commit 382b629a authored by Jakob Leben's avatar Jakob Leben

Qt: currentView initialization

parent ddc7925d
......@@ -68,9 +68,15 @@ StandardPLPanel::StandardPLPanel( PlaylistWidget *_parent,
int i_viewMode = getSettings()->value( "view-mode", TREE_VIEW ).toInt();
if( i_viewMode == ICON_VIEW )
iconView = new PlIconView( model, this );
{
createIconView();
currentView = iconView;
}
else
{
createTreeView();
currentView = treeView;
}
getSettings()->endGroup();
......
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