Commit 87219a2b authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Update comments.

parent 5917494b
...@@ -178,8 +178,6 @@ PrefsTree::PrefsTree( intf_thread_t *_p_intf, QWidget *_parent ) : ...@@ -178,8 +178,6 @@ PrefsTree::PrefsTree( intf_thread_t *_p_intf, QWidget *_parent ) :
/* Create a new TreeWidget */ /* Create a new TreeWidget */
QTreeWidgetItem *subcat_item = new QTreeWidgetItem(); QTreeWidgetItem *subcat_item = new QTreeWidgetItem();
subcat_item->setText( 0, data_sub->name ); subcat_item->setText( 0, data_sub->name );
/* TODO : Choose the image */
//subcat_item->setIcon( 0 , XXX );
subcat_item->setData( 0, Qt::UserRole, subcat_item->setData( 0, Qt::UserRole,
qVariantFromValue( data_sub ) ); qVariantFromValue( data_sub ) );
subcat_item->setSizeHint( 0, QSize( -1, ITEM_HEIGHT ) ); subcat_item->setSizeHint( 0, QSize( -1, ITEM_HEIGHT ) );
...@@ -274,10 +272,8 @@ PrefsTree::PrefsTree( intf_thread_t *_p_intf, QWidget *_parent ) : ...@@ -274,10 +272,8 @@ PrefsTree::PrefsTree( intf_thread_t *_p_intf, QWidget *_parent ) :
module_data->i_type = TYPE_MODULE; module_data->i_type = TYPE_MODULE;
module_data->psz_name = strdup( module_GetObjName( p_module ) ); module_data->psz_name = strdup( module_GetObjName( p_module ) );
module_data->help.clear(); module_data->help.clear();
// TODO image
QTreeWidgetItem *module_item = new QTreeWidgetItem(); QTreeWidgetItem *module_item = new QTreeWidgetItem();
module_item->setText( 0, qtr( module_GetName( p_module, false ) ) ); module_item->setText( 0, qtr( module_GetName( p_module, false ) ) );
//item->setIcon( 0 , XXX );
module_item->setData( 0, Qt::UserRole, module_item->setData( 0, Qt::UserRole,
QVariant::fromValue( module_data) ); QVariant::fromValue( module_data) );
module_item->setSizeHint( 0, QSize( -1, ITEM_HEIGHT ) ); module_item->setSizeHint( 0, QSize( -1, ITEM_HEIGHT ) );
......
...@@ -164,7 +164,7 @@ VLMDialog::~VLMDialog() ...@@ -164,7 +164,7 @@ VLMDialog::~VLMDialog()
{ {
delete vlmWrapper; delete vlmWrapper;
/* FIXME :you have to destroy vlm here to close /* TODO :you have to destroy vlm here to close
* but we shouldn't destroy vlm here in case somebody else wants it */ * but we shouldn't destroy vlm here in case somebody else wants it */
if( p_vlm ) if( p_vlm )
{ {
...@@ -259,7 +259,7 @@ void VLMDialog::addVLMItem() ...@@ -259,7 +259,7 @@ void VLMDialog::addVLMItem()
clearWidgets(); clearWidgets();
} }
// FIXME : VOD are not exported to the file /* TODO : VOD are not exported to the file */
bool VLMDialog::exportVLMConf() bool VLMDialog::exportVLMConf()
{ {
QString saveVLMConfFileName = QFileDialog::getSaveFileName( QString saveVLMConfFileName = QFileDialog::getSaveFileName(
...@@ -454,8 +454,7 @@ void VLMDialog::saveModifications() ...@@ -454,8 +454,7 @@ void VLMDialog::saveModifications()
break; break;
// vlmObj-> // vlmObj->
} }
vlmObj->update(); /* It should call the correct function is VLMAWidget vlmObj->update();
is abstract, but I am far from sure... FIXME ? */
} }
clearWidgets(); clearWidgets();
} }
......
...@@ -571,9 +571,6 @@ MainInputManager::MainInputManager( intf_thread_t *_p_intf ) ...@@ -571,9 +571,6 @@ MainInputManager::MainInputManager( intf_thread_t *_p_intf )
var_AddCallback( p_intf->p_libvlc, "volume-change", VolumeChanged, this ); var_AddCallback( p_intf->p_libvlc, "volume-change", VolumeChanged, this );
// No necessary, I think TODO REMOVE ME at the end
//var_AddCallback( THEPL, "intf-change", ItemChanged, im );
/* Warn our embedded IM about input changes */ /* Warn our embedded IM about input changes */
CONNECT( this, inputChanged( input_thread_t * ), CONNECT( this, inputChanged( input_thread_t * ),
im, setInput( input_thread_t * ) ); im, setInput( input_thread_t * ) );
......
...@@ -337,8 +337,7 @@ static void *Init( vlc_object_t *obj ) ...@@ -337,8 +337,7 @@ static void *Init( vlc_object_t *obj )
#endif #endif
QSettings::UserScope, "vlc", "vlc-qt-interface" ); QSettings::UserScope, "vlc", "vlc-qt-interface" );
/* Icon setting /* Icon setting */
FIXME: use a bigger icon ? */
if( QDate::currentDate().dayOfYear() >= 354 ) if( QDate::currentDate().dayOfYear() >= 354 )
app->setWindowIcon( QIcon( QPixmap(vlc_christmas_xpm) ) ); app->setWindowIcon( QIcon( QPixmap(vlc_christmas_xpm) ) );
else else
......
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