Commit 3867805b authored by Ludovic Fauvet's avatar Ludovic Fauvet

Qt: recents: don't create an accelerator for MRL containing '&'

parent 154a375a
......@@ -1601,6 +1601,8 @@ void VLCMenuBar::updateRecents( intf_thread_t *p_intf )
char *psz = decode_URI_duplicate( qtu( mrl ) );
QString text = qfu( psz );
text.replace("&", "&&");
free( psz );
action = recentsMenu->addAction(
QString( i < 9 ? "&%1: ": "%1: " ).arg( i + 1 ) +
......
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