Ticket #5242: 5242-v1.patch

File 5242-v1.patch, 667 bytes (added by danielk, 11 years ago)

Reintroduces error dialog for NVP errors.. can't be applied until after Watch Recordings is ported to MythUI.

  • libs/libmythtv/tv_play.cpp

     
    365365        delete curProgram;
    366366    }
    367367
     368    if (!nvpError.isEmpty())
     369    {
     370        MythScreenStack *ss = GetMythMainWindow()->GetStack("popup stack");
     371        MythConfirmationDialog *dlg = new MythConfirmationDialog(
     372            ss, nvpError, false);
     373        if (!dlg->Create())
     374            delete dlg;
     375        else
     376            ss->AddScreen(dlg);
     377    }
     378
    368379    gContext->sendPlaybackEnd();
    369380
    370381    VERBOSE(VB_PLAYBACK, LOC + "StartTV -- end");