Index: mythtv/libs/libmythui/myththemedmenu.cpp =================================================================== --- mythtv/libs/libmythui/myththemedmenu.cpp (revision 14767) +++ mythtv/libs/libmythui/myththemedmenu.cpp (working copy) @@ -234,6 +234,7 @@ QString titleText; QString menumode; + MythUIImage *buttonBackground; MythUIStateType *watermark; MythUIImage *uparrow; MythUIImage *downarrow; @@ -1480,6 +1496,8 @@ f.close(); + buttonBackground = new MythUIImage(parent, "menu button background"); + buttonList.clear(); buttonRows.clear(); @@ -1552,8 +1570,6 @@ if (m_state->buttonBackground) { - MythUIImage *buttonBackground; - buttonBackground = new MythUIImage(parent, "menu button background"); buttonBackground->SetImage(m_state->buttonBackground); buttonBackground->SetPosition(m_state->buttonArea.topLeft()); }