Skip to content

Commit

Permalink
Make the free space updates start in PBH
Browse files Browse the repository at this point in the history
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 62d7084)
  • Loading branch information
Beirdo committed May 27, 2011
1 parent d0648f6 commit 9375ffb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mythtv/programs/mythfrontend/playbackboxhelper.cpp
Expand Up @@ -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();
}

Expand Down

0 comments on commit 9375ffb

Please sign in to comment.