Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

TV: Clear the contents of TvPlayWindow when playback is starting.

This ensures we don't see the 'Please wait' etc popups when exiting
playback and clears up some theme anomalies with the TvPlayWindow
appearing behind, for example, the program guide in Graphite.
  • Loading branch information...
commit 6aef308aeba3ffd1a85965495f8b89f3fdfc3b8b 1 parent 4ae3c0d
Mark Kendall authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  mythtv/libs/libmythtv/tv_play.cpp
3  mythtv/libs/libmythtv/tv_play.cpp
View
@@ -2111,6 +2111,9 @@ void TV::HandleStateChange(PlayerContext *mctx, PlayerContext *ctx)
GetMythMainWindow()->PushDrawDisabled();
}
DrawUnusedRects();
+ // we no longer need the contents of myWindow
+ if (myWindow)
+ myWindow->DeleteAllChildren();
}
VERBOSE(VB_PLAYBACK, LOC +
Please sign in to comment.
Something went wrong with that request. Please try again.