diff options
author | Jonathan Marshall <jmarshall@xbmc.org> | 2013-11-30 18:55:13 +1300 |
---|---|---|
committer | Jonathan Marshall <jmarshall@xbmc.org> | 2013-12-24 13:48:51 +1300 |
commit | c3863c411ddb5ebe25d18b2779fbc6338838d631 (patch) | |
tree | f76e8ec36c5b775de0a934648e3f8a7c7334c64b | |
parent | 7373e661ea384502423dc5f761f6eba44fbb2e70 (diff) |
[musicdb] fix: make sure we pass the progress dialog into UpdateDatabase*Info so user gets prompted on manual lookups
-rw-r--r-- | xbmc/music/windows/GUIWindowMusicBase.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xbmc/music/windows/GUIWindowMusicBase.cpp b/xbmc/music/windows/GUIWindowMusicBase.cpp index 4df4605c1b..20b783cca0 100644 --- a/xbmc/music/windows/GUIWindowMusicBase.cpp +++ b/xbmc/music/windows/GUIWindowMusicBase.cpp @@ -391,7 +391,7 @@ void CGUIWindowMusicBase::ShowArtistInfo(const CFileItem *pItem, bool bShowInfo } CMusicInfoScanner scanner; - if (scanner.UpdateDatabaseArtistInfo(pItem->GetPath(), artistInfo, bShowInfo) != INFO_ADDED || !artistInfo.Loaded()) + if (scanner.UpdateDatabaseArtistInfo(pItem->GetPath(), artistInfo, bShowInfo, m_dlgProgress) != INFO_ADDED || !artistInfo.Loaded()) { CGUIDialogOK::ShowAndGetInput(21889, 0, 20199, 0); break; @@ -462,7 +462,7 @@ bool CGUIWindowMusicBase::ShowAlbumInfo(const CFileItem *pItem, bool bShowInfo / } CMusicInfoScanner scanner; - if (scanner.UpdateDatabaseAlbumInfo(pItem->GetPath(), albumInfo, bShowInfo) != INFO_ADDED || !albumInfo.Loaded()) + if (scanner.UpdateDatabaseAlbumInfo(pItem->GetPath(), albumInfo, bShowInfo, m_dlgProgress) != INFO_ADDED || !albumInfo.Loaded()) { CGUIDialogOK::ShowAndGetInput(185, 0, 500, 0); if (m_dlgProgress) |