]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/components/complete_preferences.cpp
Replace vlc_bool_t by bool, VLC_TRUE by true and VLC_FALSE by false.
[vlc] / modules / gui / qt4 / components / complete_preferences.cpp
index a953ff534b126913070684d463c66ecd2b7dcb75..65ce59086ff12ffd28a5113c045fa66dda48a6a4 100644 (file)
@@ -62,7 +62,6 @@ PrefsTree::PrefsTree( intf_thread_t *_p_intf, QWidget *_parent ) :
 
     setIconSize( QSize( ITEM_HEIGHT,ITEM_HEIGHT ) );
     setTextElideMode( Qt::ElideNone );
-    setHorizontalScrollBarPolicy ( Qt::ScrollBarAlwaysOn );
 
     /* Nice icons */
 #define BI( a,b) QIcon a##_icon = QIcon( QPixmap( b ))
@@ -286,7 +285,7 @@ PrefsTree::PrefsTree( intf_thread_t *_p_intf, QWidget *_parent ) :
         module_data->help.clear();
         // TODO image
         QTreeWidgetItem *module_item = new QTreeWidgetItem();
-        module_item->setText( 0, qtr( module_GetName( p_module, VLC_FALSE ) ) );
+        module_item->setText( 0, qtr( module_GetName( p_module, false ) ) );
         //item->setIcon( 0 , XXX );
         module_item->setData( 0, Qt::UserRole,
                               QVariant::fromValue( module_data) );
@@ -460,7 +459,7 @@ AdvPrefsPanel::AdvPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
             ( p_item->i_type == CONFIG_CATEGORY ||
               p_item->i_type == CONFIG_SUBCATEGORY ) )
             break;
-        if( p_item->b_internal == VLC_TRUE ) continue;
+        if( p_item->b_internal == true ) continue;
 
         if( p_item->i_type == CONFIG_SECTION )
         {