Ticket #4968: osd.diff

File osd.diff, 1.2 KB (added by Mark Buechler <Mark.Buechler@…>, 16 years ago)

The patch.

  • osd.cpp

    old new void OSD::NewDialogBox(const QString &na 
    21612161    if (container)
    21622162    {
    21632163        VERBOSE(VB_IMPORTANT, "dialog: " << name << " already exists.");
     2164        osdlock.unlock();
    21642165        return;
    21652166    }       
    21662167
    void OSD::NewDialogBox(const QString &na 
    21682169    if (!base)
    21692170    {
    21702171        VERBOSE(VB_IMPORTANT, "couldn't find base dialog");
     2172        osdlock.unlock();
    21712173        return;
    21722174    }
    21732175
    void OSD::NewDialogBox(const QString &na 
    21992201    {
    22002202        VERBOSE(VB_IMPORTANT, QString("Theme allows %1 options, "
    22012203        "menu contains %2 options").arg(availoptions).arg(numoptions));
     2204        osdlock.unlock();
    22022205        return;
    22032206    }
    22042207
    void OSD::NewDialogBox(const QString &na 
    22122215        if (!text)
    22132216        {
    22142217            VERBOSE(VB_IMPORTANT, "Couldn't find: " << name);
     2218            osdlock.unlock();
    22152219            return;
    22162220        }
    22172221
    void OSD::NewDialogBox(const QString &na 
    22252229    {
    22262230        VERBOSE(VB_IMPORTANT,
    22272231                "Need a positionindicator named 'selector' in the basedialog");
     2232        osdlock.unlock();
    22282233        return;
    22292234    }
    22302235