Ticket #10894: 0001-fix-osd-menu-broken-in-commit-238d243481669fc54011db.patch

File 0001-fix-osd-menu-broken-in-commit-238d243481669fc54011db.patch, 1.2 KB (added by Tobias Maier <diespambox@…>, 7 years ago)

fix stuff broken in enable-mythconfirmation-dialog-to-pause-playback.patch

  • mythtv/libs/libmythtv/osd.cpp

    From 80cdcf545ff37cb2285775f91abc540a958b70ce Mon Sep 17 00:00:00 2001
    From: Tobias Maier <diespambox@gmx.net>
    Date: Tue, 10 Jul 2012 20:06:50 +0200
    Subject: [PATCH] fix osd menu broken in commit
     238d243481669fc54011db7bc939268d1b6390df
    
    ---
     mythtv/libs/libmythtv/osd.cpp |   16 ++++++++--------
     1 files changed, 8 insertions(+), 8 deletions(-)
    
    diff --git a/mythtv/libs/libmythtv/osd.cpp b/mythtv/libs/libmythtv/osd.cpp
    index 3b5a4b4..e6be72d 100644
    a b void OSD::DialogShow(const QString &window, const QString &text, int updatefor, 
    10241024                    else
    10251025                        cbox->SetData("DIALOG_CONFIRM_X_X");
    10261026                }
    1027                 m_Children.insert(window, m_Dialog);
    10281027            }
    1029             else
    1030             {
    1031                 RevertUIScale();
    1032                 delete dialog;
    1033                 return;
    1034             }
    1035 
     1028            m_Children.insert(window, m_Dialog);
     1029        }
     1030        else
     1031        {
    10361032            RevertUIScale();
     1033            delete dialog;
     1034            return;
    10371035        }
     1036
     1037        RevertUIScale();
    10381038    }
    10391039
    10401040    if (updatefor)