summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Kendall <mkendall@mythtv.org>2011-02-14 12:38:37 (GMT)
committer Mark Kendall <mkendall@mythtv.org>2011-02-15 00:53:13 (GMT)
commit4055a5e7500a665d56bdd9bb90ace64a0e05d268 (patch)
tree6f6e97a4f26ed81e52b44c0d15ca9d09dcb4eb49
parent72b76bd406210922c004fa2e9c57ebbb75750226 (diff)
Ensure the TvPlayWindow is shown before we construct the player object.
(cherry picked from commit 01a5c56e3f98291a67a4277431a7c9df30da8433)
-rw-r--r--mythtv/libs/libmythtv/tv_play.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/mythtv/libs/libmythtv/tv_play.cpp b/mythtv/libs/libmythtv/tv_play.cpp
index 7ffdb5d..fbb5d2b 100644
--- a/mythtv/libs/libmythtv/tv_play.cpp
+++ b/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();
}