[vlc-commits] qt4: the verbosity can't be higher than 2
Ludovic Fauvet
git at videolan.org
Sun Jun 10 13:25:46 CEST 2012
vlc/vlc-2.0 | branch: master | Ludovic Fauvet <etix at l0cal.com> | Sun Jun 10 05:36:11 2012 +0200| [567e06eb5c639f794413191008b5bf6afc55f9b6] | committer: Felix Paul Kühne
qt4: the verbosity can't be higher than 2
Signed-off-by: Felix Paul Kühne <fkuehne at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=567e06eb5c639f794413191008b5bf6afc55f9b6
---
modules/gui/qt4/dialogs/messages.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/gui/qt4/dialogs/messages.cpp b/modules/gui/qt4/dialogs/messages.cpp
index 862222f..a9cef28 100644
--- a/modules/gui/qt4/dialogs/messages.cpp
+++ b/modules/gui/qt4/dialogs/messages.cpp
@@ -88,7 +88,7 @@ MessagesDialog::MessagesDialog( intf_thread_t *_p_intf)
int verbosity = var_InheritInteger( p_intf, "verbose" );
vlc_atomic_set( &this->verbosity, verbosity );
- ui.verbosityBox->setValue( verbosity );
+ ui.verbosityBox->setValue( qMin( verbosity, 2 ) );
char *objs = var_InheritString( p_intf, "verbose-objects" );
if( objs != NULL )
More information about the vlc-commits
mailing list