changed: Remove display of XBOX dvd icon unused code
authoruNiversaI <uNiversaI@noreply.github.com>
Tue, 17 Jun 2014 11:06:24 +0000 (20:06 +0900)
committeruNiversaI <uNiversaI@noreply.github.com>
Sat, 12 Jul 2014 23:16:48 +0000 (08:16 +0900)
This would display a XBOX dvd icon if DefaultXboxDVD.png still existed
which doesnt anymore,

xbmc/Util.cpp

index b33f142..4b81f8e 100644 (file)
@@ -613,15 +613,6 @@ void CUtil::GetDVDDriveIcon(const std::string& strPath, std::string& strIcon)
 
   if ( URIUtils::IsDVD(strPath) )
   {
-#ifdef HAS_DVD_DRIVE
-    CCdInfo* pInfo = g_mediaManager.GetCdInfo();
-    //  xbox DVD
-    if ( pInfo != NULL && pInfo->IsUDFX( 1 ) )
-    {
-      strIcon = "DefaultXboxDVD.png";
-      return ;
-    }
-#endif
     strIcon = "DefaultDVDRom.png";
     return ;
   }