Ticket #6066: 6066_3.diff

File 6066_3.diff, 774 bytes (added by ralfd, 10 years ago)

Simple patch of MythWelcome?

  • mythtv-0-23/mythtv/programs/mythwelcome/welcomedialog.cpp

     
    517517    QDateTime curtime = QDateTime::currentDateTime();
    518518
    519519    if (!m_isRecording && !m_nextRecordingStart.isNull() &&
    520             curtime.secsTo(m_nextRecordingStart) -
    521             m_preRollSeconds < m_idleWaitForRecordingTime * 60)
     520            curtime.secsTo(m_nextRecordingStart) - m_preRollSeconds -
     521            m_secondsToShutdown < m_idleWaitForRecordingTime * 60)
    522522    {
    523523         m_statusList.append(tr("MythTV is about to start recording."));
    524524    }