Commit 567e06eb authored by Ludovic Fauvet's avatar Ludovic Fauvet Committed by Felix Paul Kühne

qt4: the verbosity can't be higher than 2

Signed-off-by: default avatarFelix Paul Kühne <fkuehne@videolan.org>
parent fd06d5c1
...@@ -88,7 +88,7 @@ MessagesDialog::MessagesDialog( intf_thread_t *_p_intf) ...@@ -88,7 +88,7 @@ MessagesDialog::MessagesDialog( intf_thread_t *_p_intf)
int verbosity = var_InheritInteger( p_intf, "verbose" ); int verbosity = var_InheritInteger( p_intf, "verbose" );
vlc_atomic_set( &this->verbosity, verbosity ); vlc_atomic_set( &this->verbosity, verbosity );
ui.verbosityBox->setValue( verbosity ); ui.verbosityBox->setValue( qMin( 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