Ticket #4053: svn_head-busy_tuner.2.diff

File svn_head-busy_tuner.2.diff, 1.6 KB (added by mythtv at gtbox.info, 17 years ago)

Updated patch - Removed unneeded changes

  • libs/libmythtv/tv_play.cpp

     
    25352535                {
    25362536                    lockTimerOn = false;
    25372537                }
     2538                else if (dialogname == "infobox")
     2539                {
     2540                    int result = GetOSD()->GetDialogResponse(dialogname);
    25382541
     2542                    if (result == 1)
     2543                    {
     2544                           gContext->GetMainWindow()->JumpTo("TV Recording Playback");
     2545                    }
     2546                }
    25392547                while (GetOSD()->DialogShowing(dialogname))
    25402548                {
    25412549                    usleep(1000);
     
    73067314    else if (GetOSD())
    73077315    {
    73087316        dialogname = "infobox";
    7309         QStringList options("OK");
    7310         GetOSD()->NewDialogBox(dialogname, errorText, options, 0);
     7317        QStringList options;
     7318        options += tr("Return to Main Menu");
     7319        options += tr("View Recordings");
     7320        GetOSD()->NewDialogBox(dialogname, errorText, options, 0, 0);
    73117321    }
    73127322    else
    73137323    {
    7314         MythPopupBox::showOkPopup(
    7315             gContext->GetMainWindow(), QObject::tr("Channel Change Error"),
    7316             errorText);
     7324        int result = MythPopupBox::show2ButtonPopup(
     7325             gContext->GetMainWindow(), QObject::tr("Channel Change Error"),
     7326             errorText,
     7327             tr("Return to Main Menu"),
     7328             tr("View Recordings"),
     7329             1);
     7330        if (result == 1) {
     7331            gContext->GetMainWindow()->JumpTo("TV Recording Playback");
     7332        }
    73177333    }
    73187334}
    73197335