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

Qt4 - remove an unnecessary cast

parent cebe12a7
......@@ -59,11 +59,10 @@ PlaylistWidget::PlaylistWidget( intf_thread_t *_p_i, QSettings *settings, QWidge
leftW->addWidget( art );
/* Initialisation of the playlist */
playlist_item_t *p_root = playlist_GetPreferredNode( THEPL,
THEPL->p_local_category );
playlist_item_t *p_root =
playlist_GetPreferredNode( THEPL, THEPL->p_local_category );
rightPanel = qobject_cast<PLPanel *>( new StandardPLPanel( this,
p_intf, THEPL, p_root ) );
rightPanel = new StandardPLPanel( this, p_intf, THEPL, p_root );
/* Connect the activation of the selector to a redefining of the PL */
CONNECT( selector, activated( int ), rightPanel, setRoot( int ) );
......
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