Permalink
Browse files

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

  • Loading branch information...
1 parent a0b0d78 commit 01a5c56e3f98291a67a4277431a7c9df30da8433 Mark Kendall committed Feb 14, 2011
Showing with 2 additions and 3 deletions.
  1. +2 −3 mythtv/libs/libmythtv/tv_play.cpp
@@ -1101,9 +1101,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 01a5c56

Please sign in to comment.