summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGavin Hurlbut <ghurlbut@mythtv.org>2011-05-27 07:04:06 (GMT)
committer Gavin Hurlbut <ghurlbut@mythtv.org>2011-05-27 07:08:00 (GMT)
commit62d70845b46387bf16e0a1e1c75f7a0082ba61f3 (patch)
treecc5f66792c11ec3ae5289445cea8cd52094ecd57
parent4426dd65762dbc286b74e1fe5d85945d0b745ccf (diff)
Make the free space updates start in PBH
Make it so as soon as the playbackboxhelper thread starts, it forces an update of the free space so the bar can start updating. Once it has been started, the free space will update on a timer basis (looks like every 15s). Fixes #9771
-rw-r--r--mythtv/programs/mythfrontend/playbackboxhelper.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/mythtv/programs/mythfrontend/playbackboxhelper.cpp b/mythtv/programs/mythfrontend/playbackboxhelper.cpp
index 200f816..c3ae89e 100644
--- a/mythtv/programs/mythfrontend/playbackboxhelper.cpp
+++ b/mythtv/programs/mythfrontend/playbackboxhelper.cpp
@@ -518,6 +518,8 @@ void PlaybackBoxHelper::UndeleteRecording(
void PlaybackBoxHelper::run(void)
{
m_eventHandler = new PBHEventHandler(*this);
+ // Prime the pump so the disk free display starts updating
+ ForceFreeSpaceUpdate();
exec();
}