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

Qt: disable recentMenus, if it is empty

parent 9a635062
...@@ -1514,8 +1514,7 @@ void QVLCMenu::updateRecents( intf_thread_t *p_intf ) ...@@ -1514,8 +1514,7 @@ void QVLCMenu::updateRecents( intf_thread_t *p_intf )
if( !l.count() ) if( !l.count() )
{ {
action = recentsMenu->addAction( qtr(" - Empty - ") ); recentsMenu->setEnabled( false );
action->setEnabled( false );
} }
else else
{ {
......
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