From 5a5c3098cca9be13b057a70da91da1a1427c612e Mon Sep 17 00:00:00 2001 From: Tobias Hieta Date: Tue, 27 May 2014 09:29:56 +0200 Subject: [PATCH] Convert another place to use the DIALOG_DOMODAL message Related to #1213 --- xbmc/video/windows/GUIWindowFullScreen.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xbmc/video/windows/GUIWindowFullScreen.cpp b/xbmc/video/windows/GUIWindowFullScreen.cpp index c4c12dc600e13..8c7dd7febf8f2 100644 --- a/xbmc/video/windows/GUIWindowFullScreen.cpp +++ b/xbmc/video/windows/GUIWindowFullScreen.cpp @@ -734,9 +734,10 @@ bool CGUIWindowFullScreen::OnMessage(CGUIMessage& message) g_application.m_pPlayer->IsCaching() ? "yes" : "no", g_application.m_pPlayer->GetPlayerState().c_str()); if (g_application.IsPaused() && !g_application.IsBuffering() && !g_infoManager.GetSeeking()) { + ThreadMessage tmsg = {TMSG_DIALOG_DOMODAL, WINDOW_DIALOG_VIDEO_OSD, WINDOW_FULLSCREEN_VIDEO, "pauseOpen"}; CGUIDialogVideoOSD* osd = (CGUIDialogVideoOSD*)g_windowManager.GetWindow(WINDOW_DIALOG_VIDEO_OSD); if (osd && !osd->IsDialogRunning()) - CApplicationMessenger::Get().DoModal(osd, WINDOW_DIALOG_VIDEO_OSD, "pauseOpen", false); + CApplicationMessenger::Get().SendMessage(tmsg, false); } /* END PLEX */