mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-11-30 17:20:32 +01:00
2021-04-26 Fred Gleason <fredg@paravelsystems.com>
* Added a check for zero length recordings to the 'Edit Recording' dialog in rdcatch(1). Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -955,6 +955,11 @@ bool EditRecording::CheckEvent(bool include_myself)
|
||||
break;
|
||||
|
||||
case RDRecording::LengthEnd:
|
||||
if(QTime(0,0,0).msecsTo(edit_endlength_edit->time())==0) {
|
||||
QMessageBox::warning(this,"RDCatch - "+tr("Record Parameter Error"),
|
||||
tr("The Record Length parameter cannot be \"00:00:00\"!"));
|
||||
return false;
|
||||
}
|
||||
break;
|
||||
}
|
||||
break;
|
||||
@@ -980,6 +985,11 @@ bool EditRecording::CheckEvent(bool include_myself)
|
||||
break;
|
||||
|
||||
case RDRecording::LengthEnd:
|
||||
if(QTime(0,0,0).msecsTo(edit_endlength_edit->time())==0) {
|
||||
QMessageBox::warning(this,"RDCatch - "+tr("Record Parameter Error"),
|
||||
tr("The Record Length parameter cannot be \"00:00:00\"!"));
|
||||
return false;
|
||||
}
|
||||
break;
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user