Skip to content

Commit

Permalink
Merge pull request xbmc#8570 from MartijnKaijser/clean_epg
Browse files Browse the repository at this point in the history
[pvr] fix missing header label on clean EPG
  • Loading branch information
MartijnKaijser committed Dec 12, 2015
2 parents 6ab7347 + dd36149 commit cd40569
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions addons/resource.language.en_gb/resources/strings.po
Original file line number Diff line number Diff line change
Expand Up @@ -1383,6 +1383,7 @@ msgid "(0=auto)"
msgstr ""

#: xbmc/music/MusicDatabase.cpp
#: xbmc/pvr/PVRManager.cpp
msgctxt "#313"
msgid "Cleaning database"
msgstr ""
Expand Down
5 changes: 3 additions & 2 deletions xbmc/pvr/PVRManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -753,8 +753,9 @@ void CPVRManager::ResetDatabase(bool bResetEPGOnly /* = false */)
g_EpgContainer.Stop();

CGUIDialogProgress* pDlgProgress = (CGUIDialogProgress*)g_windowManager.GetWindow(WINDOW_DIALOG_PROGRESS);
pDlgProgress->SetLine(0, CVariant{""});
pDlgProgress->SetLine(1, CVariant{g_localizeStrings.Get(19187)}); // All data in the PVR database is being erased
pDlgProgress->SetHeading(CVariant{313});
pDlgProgress->SetLine(0, CVariant{g_localizeStrings.Get(19187)}); // All data in the PVR database is being erased
pDlgProgress->SetLine(1, CVariant{""});
pDlgProgress->SetLine(2, CVariant{""});
pDlgProgress->Open();
pDlgProgress->Progress();
Expand Down

0 comments on commit cd40569

Please sign in to comment.