Commit 1d9c69bb authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: rename variable for consistency

parent 175b37db
...@@ -193,7 +193,7 @@ void PLSelector::createItems() ...@@ -193,7 +193,7 @@ void PLSelector::createItems()
ml->treeItem()->setData( 0, SPECIAL_ROLE, QVariant( IS_ML ) ); ml->treeItem()->setData( 0, SPECIAL_ROLE, QVariant( IS_ML ) );
/* SQL ML */ /* SQL ML */
QTreeWidgetItem *sql_ml = addItem( SQL_ML, "SQL Media Library" )->treeItem(); QTreeWidgetItem *sql_ml = addItem( SQL_ML_TYPE, "SQL Media Library" )->treeItem();
/* SD nodes */ /* SD nodes */
QTreeWidgetItem *mycomp = addItem( CATEGORY_TYPE, N_("My Computer") )->treeItem(); QTreeWidgetItem *mycomp = addItem( CATEGORY_TYPE, N_("My Computer") )->treeItem();
...@@ -274,7 +274,7 @@ void PLSelector::setSource( QTreeWidgetItem *item ) ...@@ -274,7 +274,7 @@ void PLSelector::setSource( QTreeWidgetItem *item )
if( !sd_loaded ) if( !sd_loaded )
playlist_ServicesDiscoveryAdd( THEPL, qtu( qs ) ); playlist_ServicesDiscoveryAdd( THEPL, qtu( qs ) );
} }
else if( i_type == SQL_ML ) else if( i_type == SQL_ML_TYPE )
{ {
emit categoryActivated( NULL, true ); emit categoryActivated( NULL, true );
return; return;
......
...@@ -44,7 +44,7 @@ enum SelectorItemType { ...@@ -44,7 +44,7 @@ enum SelectorItemType {
CATEGORY_TYPE, CATEGORY_TYPE,
SD_TYPE, SD_TYPE,
PL_ITEM_TYPE, PL_ITEM_TYPE,
SQL_ML SQL_ML_TYPE,
}; };
enum SpecialData { enum SpecialData {
......
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