diff --git a/mythtv/programs/mythwelcome/welcomedialog.cpp b/mythtv/programs/mythwelcome/welcomedialog.cpp
index 90b7d0f..522a9be 100644
a
|
b
|
void WelcomeDialog::updateScreen(void) |
348 | 348 | // update recording |
349 | 349 | if (m_isRecording && m_tunerList.size()) |
350 | 350 | { |
351 | | if (m_screenTunerNo >= m_tunerList.size()) |
352 | | m_screenTunerNo = 0; |
353 | | |
354 | | TunerStatus tuner = m_tunerList[m_screenTunerNo]; |
355 | | |
356 | | if (tuner.isRecording) |
357 | | { |
358 | | status = QObject::tr("Tuner %1 is recording:\n") |
359 | | .arg(tuner.id); |
360 | | status += tuner.channame; |
361 | | status += "\n" + tuner.title; |
362 | | if (!tuner.subtitle.isEmpty()) |
363 | | status += "\n("+tuner.subtitle+")"; |
364 | | status += "\n" + tuner.startTime.toString(m_timeFormat) + |
365 | | " " + tr("to") + " " + tuner.endTime.toString(m_timeFormat); |
366 | | } |
367 | | else |
368 | | { |
369 | | status = QObject::tr("Tuner %1 is not recording") |
370 | | .arg(tuner.id); |
371 | | } |
372 | | |
373 | | if (m_screenTunerNo < m_tunerList.size() - 1) |
| 351 | TunerStatus tuner = m_tunerList[m_screenTunerNo]; |
| 352 | |
| 353 | do |
| 354 | { |
| 355 | if (m_screenTunerNo < m_tunerList.size() - 1) |
374 | 356 | m_screenTunerNo++; |
375 | | else |
| 357 | else |
376 | 358 | m_screenTunerNo = 0; |
| 359 | |
| 360 | tuner = m_tunerList[m_screenTunerNo]; |
| 361 | } |
| 362 | while (!tuner.isRecording) |
| 363 | |
| 364 | status = QObject::tr("Tuner %1 is recording:\n") |
| 365 | .arg(tuner.id); |
| 366 | status += tuner.channame; |
| 367 | status += "\n" + tuner.title; |
| 368 | if (!tuner.subtitle.isEmpty()) |
| 369 | status += "\n("+tuner.subtitle+")"; |
| 370 | status += "\n" + tuner.startTime.toString(m_timeFormat) + |
| 371 | " " + tr("to") + " " + tuner.endTime.toString(m_timeFormat); |
| 372 | |
377 | 373 | } |
378 | 374 | else |
379 | 375 | status = tr("There are no recordings currently taking place"); |