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