[vlc-devel] [vlc-commits] Qt: complete_preferences: toggle prefs for current modules.

Rafaël Carré funman at videolan.org
Fri Jan 25 04:37:13 CET 2013


Le 19/12/2012 19:15, Francois Cartegnie a écrit :

> @@ -157,6 +158,13 @@ void PrefsDialog::setAdvanced()
>                  this, advancedTreeFilterChanged( const QString & ) );
>  
>          advanced_tree_panel->layout()->addWidget( tree_filter );
> +
> +        current_filter = new QCheckBox( qtr("Only show current") );

I think "Active modules only" is more explicit, I had missed this commit
and when looking at the preferences I had absolutely no idea what this
meant without the tooltip, especially because I was not playing anything
at that time.

> +        current_filter->setToolTip(
> +                    qtr("Only show modules related to current playback") );
> +        CONNECT( current_filter, stateChanged(int),
> +                 this, onlyLoadedToggled() );
> +        advanced_tree_panel->layout()->addWidget( current_filter );
>      }
>  
>      /* If don't have already and advanced TREE, then create it */



More information about the vlc-devel mailing list