void CVideoInfoDownloader::ShowErrorDialog(const ADDON::CScraperError &sce) { if (!sce.Title().empty()) { CGUIDialogOK *pdlg = (CGUIDialogOK *)g_windowManager.GetWindow(WINDOW_DIALOG_OK); pdlg->SetHeading(sce.Title()); pdlg->SetLine(0, sce.Message()); CApplicationMessenger::Get().DoModal(pdlg, WINDOW_DIALOG_OK); } }
void CVideoInfoDownloader::ShowErrorDialog(const ADDON::CScraperError &sce) { if (!sce.Title().empty()) { CGUIDialogOK *pdlg = (CGUIDialogOK *)g_windowManager.GetWindow(WINDOW_DIALOG_OK); pdlg->SetHeading(CVariant{sce.Title()}); pdlg->SetLine(0, CVariant{sce.Message()}); pdlg->Open(); } }
void CVideoInfoDownloader::ShowErrorDialog(const ADDON::CScraperError &sce) { if (!sce.Title().empty()) HELPERS::ShowOKDialogText(CVariant{ sce.Title() }, CVariant{ sce.Message() }); }