Skip to content

Commit

Permalink
Convert another place to use the DIALOG_DOMODAL message
Browse files Browse the repository at this point in the history
Related to xbmc#1213
  • Loading branch information
Tobias Hieta committed May 27, 2014
1 parent 5b08cd1 commit 5a5c309
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion xbmc/video/windows/GUIWindowFullScreen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

Expand Down

0 comments on commit 5a5c309

Please sign in to comment.