Commit 51220a6a authored by Ludovic Fauvet's avatar Ludovic Fauvet Committed by Jean-Baptiste Kempf

qt4: the verbosity can't be higher than 2

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 85b689eb
...@@ -87,7 +87,7 @@ MessagesDialog::MessagesDialog( intf_thread_t *_p_intf) ...@@ -87,7 +87,7 @@ MessagesDialog::MessagesDialog( intf_thread_t *_p_intf)
int i_verbosity = var_InheritInteger( p_intf, "verbose" ); int i_verbosity = var_InheritInteger( p_intf, "verbose" );
changeVerbosity( i_verbosity ); changeVerbosity( i_verbosity );
ui.verbosityBox->setValue( i_verbosity ); ui.verbosityBox->setValue( qMin( i_verbosity, 2 ) );
char *objs = var_InheritString( p_intf, "verbose-objects" ); char *objs = var_InheritString( p_intf, "verbose-objects" );
if( objs != NULL ) if( objs != NULL )
......
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