Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

(cherry picked from commit 01a5c56)
  • Loading branch information...
commit 4055a5e7500a665d56bdd9bb90ace64a0e05d268 1 parent 72b76bd
Mark Kendall authored
Showing with 2 additions and 3 deletions.
  1. +2 −3 mythtv/libs/libmythtv/tv_play.cpp
View
5 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();
}
Please sign in to comment.
Something went wrong with that request. Please try again.