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-14 12:38:37 (GMT)
commit01a5c56e3f98291a67a4277431a7c9df30da8433 (patch)
tree66cd6ca5aeda22e8bf73e78fbcd42e3c8b35b53d
parenta0b0d78618909beafe919b6f184fd4764b82e7af (diff)
Ensure the TvPlayWindow is shown before we construct the player object.
-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 db26d08..65168f2 100644
--- a/mythtv/libs/libmythtv/tv_play.cpp
+++ b/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();
}