[musicdb] remove OnManualAlbumInfo - not used in confluence
authornight199uk <night199uk@xbmc.org>
Wed, 1 May 2013 15:41:39 +0000 (23:41 +0800)
committernight199uk <night199uk@xbmc.org>
Wed, 1 May 2013 16:36:36 +0000 (00:36 +0800)
xbmc/music/windows/GUIWindowMusicBase.cpp
xbmc/music/windows/GUIWindowMusicBase.h
xbmc/music/windows/GUIWindowMusicNav.cpp

index e53bac8..2f4c974 100644 (file)
@@ -359,20 +359,6 @@ void CGUIWindowMusicBase::OnInfo(CFileItem *pItem, bool bShowInfo)
       m_dlgProgress->Close();
 }
 
-void CGUIWindowMusicBase::OnManualAlbumInfo()
-{
-  CAlbum album;
-  album.idAlbum = -1; // not in the db
-  if (!CGUIKeyboardFactory::ShowAndGetInput(album.strAlbum, g_localizeStrings.Get(16011), false))
-    return;
-
-  CStdString strArtist = StringUtils::Join(album.artist, g_advancedSettings.m_musicItemSeparator);
-  if (!CGUIKeyboardFactory::ShowAndGetInput(strArtist, g_localizeStrings.Get(16025), false))
-    return;
-
-//  ShowAlbumInfo(album, true); FIXME
-}
-
 void CGUIWindowMusicBase::ShowArtistInfo(const CFileItem *pItem, bool bShowInfo /* = true */)
 {
   CQueryParams params;
index bf9d4d2..8050baa 100644 (file)
@@ -93,7 +93,6 @@ protected:
   void ShowSongInfo(CFileItem* pItem);
   void UpdateThumb(const CAlbum &album, const CStdString &path);
 
-  void OnManualAlbumInfo();
   void OnRipTrack(int iItem);
   void OnSearch();
   virtual void LoadPlayList(const CStdString& strPlayList);
index d334ea6..e4bd8b5 100644 (file)
@@ -148,11 +148,6 @@ bool CGUIWindowMusicNav::OnMessage(CGUIMessage& message)
         }
         UpdateButtons();
       }
-      else if (iControl == CONTROL_BTNMANUALINFO)
-      {
-        OnManualAlbumInfo();
-        return true;
-      }
       else if (iControl == CONTROL_SEARCH)
       {
         if (m_searchWithEdit)