Skip to content

Commit

Permalink
Ensure the TvPlayWindow is shown before we construct the player object.
Browse files Browse the repository at this point in the history
(cherry picked from commit 01a5c56)
  • Loading branch information
Mark Kendall committed Feb 15, 2011
1 parent 72b76bd commit 4055a5e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions mythtv/libs/libmythtv/tv_play.cpp
Expand Up @@ -1162,9 +1162,8 @@ bool TV::Init(bool createWindow)
} }


MythMainWindow *mainWindow = GetMythMainWindow(); MythMainWindow *mainWindow = GetMythMainWindow();
//QPalette p = mainWindow->palette(); if (mainWindow->GetPaintWindow())
//p.setColor(mainWindow->backgroundRole(), Qt::black); mainWindow->GetPaintWindow()->update();
//mainWindow->setPalette(p);
mainWindow->installEventFilter(this); mainWindow->installEventFilter(this);
qApp->processEvents(); qApp->processEvents();
} }
Expand Down

0 comments on commit 4055a5e

Please sign in to comment.