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