All pastes #1589577 Raw Edit

Stuff

public diff v1 · immutable
#1589577 ·published 2009-10-02 15:12 UTC
rendered paste body
Index: mythtv/programs/mythfrontend/playbackbox.cpp===================================================================--- mythtv/programs/mythfrontend/playbackbox.cpp	(revision 22174)+++ mythtv/programs/mythfrontend/playbackbox.cpp	(working copy)@@ -441,7 +441,7 @@      m_noRecordingsText = dynamic_cast<MythUIText *> (GetChild("norecordings")); -    m_previewImage = dynamic_cast<MythUIImage *>(GetChild("preview"));+     = dynamic_cast<MythUIImage *>(GetChild("preview"));     m_fanart = dynamic_cast<MythUIImage *>(GetChild("fanart"));     m_banner = dynamic_cast<MythUIImage *>(GetChild("banner"));     m_coverart = dynamic_cast<MythUIImage *>(GetChild("coverart"));@@ -542,7 +542,7 @@     int countInGroup;      if (m_fanart)-        m_fanart->SetVisible(false);+        m_fanart->Reset();      if (groupname.isEmpty())     {@@ -615,13 +615,13 @@         jobState->Reset();      if (m_previewImage)-        m_previewImage->SetVisible(false);+        m_previewImage->Reset();      if (m_banner)-        m_banner->SetVisible(false);+        m_banner->Reset();      if (m_coverart)-        m_coverart->SetVisible(false);+        m_coverart->Reset();      updateIcons(); }@@ -684,7 +684,6 @@         if (m_previewImage)         {             imagefile = (imagefile.isEmpty()) ? oldimgfile : imagefile;-            m_previewImage->SetVisible(!imagefile.isEmpty());             m_previewImage->SetFilename(imagefile);             m_previewImage->Load();         }@@ -698,7 +697,6 @@         if (m_fanart)         {             m_fanartTimer->stop();-            m_fanart->SetVisible(false);             m_fanart->Reset();              QString fanartDir = gContext->GetSetting("mythvideo.fanartDir");@@ -722,7 +720,6 @@         if (m_banner)         {             m_bannerTimer->stop();-            m_banner->SetVisible(false);             m_banner->Reset();              QString bannerDir = gContext->GetSetting("mythvideo.bannerDir");@@ -745,7 +742,6 @@         if (m_coverart)         {             m_coverartTimer->stop();-            m_coverart->SetVisible(false);             m_coverart->Reset();              QString coverDir = gContext->GetSetting("VideoArtworkDir");@@ -2020,19 +2016,16 @@  void PlaybackBox::fanartLoad(void) {-    m_fanart->SetVisible(true);     m_fanart->Load(); }  void PlaybackBox::bannerLoad(void) {-    m_banner->SetVisible(true);     m_banner->Load(); }  void PlaybackBox::coverartLoad(void) {-    m_coverart->SetVisible(true);     m_coverart->Load(); }