Permalink
Browse files

Ensure the TvPlayWindow is shown before we construct the player object.

(cherry picked from commit 01a5c56)
  • Loading branch information...
Mark Kendall
Mark Kendall committed Feb 14, 2011
1 parent 72b76bd commit 4055a5e7500a665d56bdd9bb90ace64a0e05d268
Showing with 2 additions and 3 deletions.
  1. +2 −3 mythtv/libs/libmythtv/tv_play.cpp
@@ -1162,9 +1162,8 @@ bool TV::Init(bool createWindow)
}
MythMainWindow *mainWindow = GetMythMainWindow();
- //QPalette p = mainWindow->palette();
- //p.setColor(mainWindow->backgroundRole(), Qt::black);
- //mainWindow->setPalette(p);
+ if (mainWindow->GetPaintWindow())
+ mainWindow->GetPaintWindow()->update();
mainWindow->installEventFilter(this);
qApp->processEvents();
}

0 comments on commit 4055a5e

Please sign in to comment.