From 9375ffb6e7b016c2d80942f25a64e86758e280eb Mon Sep 17 00:00:00 2001 From: Gavin Hurlbut Date: Fri, 27 May 2011 00:04:06 -0700 Subject: [PATCH] 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 (cherry picked from commit 62d70845b46387bf16e0a1e1c75f7a0082ba61f3) --- mythtv/programs/mythfrontend/playbackboxhelper.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mythtv/programs/mythfrontend/playbackboxhelper.cpp b/mythtv/programs/mythfrontend/playbackboxhelper.cpp index 3a4ede14b7b..27835d5f625 100644 --- a/mythtv/programs/mythfrontend/playbackboxhelper.cpp +++ b/mythtv/programs/mythfrontend/playbackboxhelper.cpp @@ -520,6 +520,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(); }