Commit 9720a180 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: store 30 recents item, show 10 in the menus

parent c407f5e0
......@@ -1605,7 +1605,7 @@ void VLCMenuBar::updateRecents( intf_thread_t *p_intf )
}
else
{
for( int i = 0; i < l.count(); ++i )
for( int i = 0; i < __MIN( l.count(), 10) ; ++i )
{
QString mrl = l.at( i );
char *psz = decode_URI_duplicate( qtu( mrl ) );
......
......@@ -33,7 +33,7 @@
class QRegExp;
class QSignalMapper;
#define RECENTS_LIST_SIZE 10
#define RECENTS_LIST_SIZE 30
class Open
{
......
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