| 1 | diff --git a/mythtv/programs/mythfrontend/playbackbox.cpp b/mythtv/programs/mythfrontend/playbackbox.cpp
|
|---|
| 2 | index f421f72..0b4e51b 100644
|
|---|
| 3 | --- a/mythtv/programs/mythfrontend/playbackbox.cpp
|
|---|
| 4 | +++ b/mythtv/programs/mythfrontend/playbackbox.cpp
|
|---|
| 5 | @@ -1078,11 +1101,6 @@ void PlaybackBox::updateIcons(const ProgramInfo *pginfo)
|
|---|
| 6 | iconState->Reset();
|
|---|
| 7 | }
|
|---|
| 8 |
|
|---|
| 9 | -bool PlaybackBox::IsUsageUIVisible(void) const
|
|---|
| 10 | -{
|
|---|
| 11 | - return GetChild("freereport") || GetChild("usedbar");
|
|---|
| 12 | -}
|
|---|
| 13 | -
|
|---|
| 14 | void PlaybackBox::UpdateUsageUI(void)
|
|---|
| 15 | {
|
|---|
| 16 | MythUIText *freereportText =
|
|---|
| 17 | @@ -1090,13 +1108,6 @@ void PlaybackBox::UpdateUsageUI(void)
|
|---|
| 18 | MythUIProgressBar *usedProgress =
|
|---|
| 19 | dynamic_cast<MythUIProgressBar *>(GetChild("usedbar"));
|
|---|
| 20 |
|
|---|
| 21 | - // If the theme doesn't have these widgets,
|
|---|
| 22 | - // don't waste time querying the backend...
|
|---|
| 23 | - if (!freereportText && !usedProgress && !GetChild("diskspacetotal") &&
|
|---|
| 24 | - !GetChild("diskspaceused") && !GetChild("diskspacefree") &&
|
|---|
| 25 | - !GetChild("diskspacepercentused") && !GetChild("diskspacepercentfree"))
|
|---|
| 26 | - return;
|
|---|
| 27 | -
|
|---|
| 28 | double freeSpaceTotal = (double) m_helper.GetFreeSpaceTotalMB();
|
|---|
| 29 | double freeSpaceUsed = (double) m_helper.GetFreeSpaceUsedMB();
|
|---|
| 30 |
|
|---|