diff --git a/modules/gui/qt4/components/playlist/selector.cpp b/modules/gui/qt4/components/playlist/selector.cpp
index c65ce4511f14fa9fb26c3c7fd15f748457f0a207..6eec384f4816bd998ecb8d351107ce4527592015 100644
--- a/modules/gui/qt4/components/playlist/selector.cpp
+++ b/modules/gui/qt4/components/playlist/selector.cpp
@@ -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;
diff --git a/modules/gui/qt4/components/playlist/selector.hpp b/modules/gui/qt4/components/playlist/selector.hpp
index 26c335429506d26051585a02e28a0938b1edadf6..a9a3d4243cdeec724c12a82afd3631e1d6ad5af7 100644
--- a/modules/gui/qt4/components/playlist/selector.hpp
+++ b/modules/gui/qt4/components/playlist/selector.hpp
@@ -44,7 +44,7 @@ enum SelectorItemType {
     CATEGORY_TYPE,
     SD_TYPE,
     PL_ITEM_TYPE,
-    SQL_ML
+    SQL_ML_TYPE,
 };
 
 enum SpecialData {