mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-05-29 23:22:35 +02: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:
parent
65d249a9e1
commit
c8e0bd5bb0
@ -21612,3 +21612,6 @@
|
||||
2021-04-26 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Fixed regressions caused by changes in behavior in the null
|
||||
constructor of 'QTime' between Qt4 and Qt5.
|
||||
2021-04-26 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Added a check for zero length recordings to the 'Edit Recording'
|
||||
dialog in rdcatch(1).
|
||||
|
@ -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;
|
||||
|
@ -772,6 +772,10 @@ New</source>
|
||||
<source>Cancel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>The Record Length parameter cannot be "00:00:00"!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>EditSwitchEvent</name>
|
||||
|
@ -772,6 +772,10 @@ New</source>
|
||||
<source>Cancel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>The Record Length parameter cannot be "00:00:00"!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>EditSwitchEvent</name>
|
||||
|
@ -772,6 +772,10 @@ New</source>
|
||||
<source>Cancel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>The Record Length parameter cannot be "00:00:00"!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>EditSwitchEvent</name>
|
||||
|
@ -653,6 +653,10 @@ New</source>
|
||||
<source>Cancel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>The Record Length parameter cannot be "00:00:00"!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>EditSwitchEvent</name>
|
||||
|
@ -769,6 +769,10 @@ New</source>
|
||||
<source>Cancel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>The Record Length parameter cannot be "00:00:00"!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>EditSwitchEvent</name>
|
||||
|
@ -769,6 +769,10 @@ New</source>
|
||||
<source>Cancel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>The Record Length parameter cannot be "00:00:00"!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>EditSwitchEvent</name>
|
||||
|
@ -772,6 +772,10 @@ New</source>
|
||||
<source>Cancel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>The Record Length parameter cannot be "00:00:00"!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>EditSwitchEvent</name>
|
||||
|
Loading…
x
Reference in New Issue
Block a user