I throw in the towel. Prompt to log QSO when *either* RRR or 73 is sent.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7431 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor 2016-12-30 19:04:51 +00:00
parent f98aa4e6f4
commit f30311f324
2 changed files with 11 additions and 7 deletions

View File

@ -9,11 +9,13 @@ image::main-ui-controls.png[align="left",width=650,alt="Main UI Controls"]
about a QSO you have nearly completed. You can edit or add to this
information before clicking *OK* to log the QSO. If you check *Prompt
me to log QSO* on the *Setup* menu, the program will raise the
confirmation screen automatically when you send a message
containing "`73`". *Start Date* and *Start Time* are set when you click
to send the *Tx 2* or *Tx 3* message, and backed up by one or two
minutes, respectively. End date and time are set when the *Log
QSO* screen is invoked.
confirmation screen automatically when you send a message containing
+RRR+ or +73+. *Start Date* and *Start Time* are set when you
click to send the *Tx 2* or *Tx 3* message, and backed up by one or
two sequence lengths, respectively. (Note that the actual start time
may have been earlier if repeats of early transmissions were
required.) End date and time are set when the *Log QSO* screen is
invoked.
//.Log QSO Window
image::log-qso.png[align="center",alt="Log QSO"]

View File

@ -142,9 +142,11 @@ namespace
bool message_is_73 (int type, QStringList const& msg_parts)
{
qDebug() << type;
return type >= 0
&& (((type < 6 || 7 == type) && msg_parts.contains ("73"))
|| (type == 6 && !msg_parts.filter ("73").isEmpty ()));
&& (((type < 6 || 7 == type)
&& (msg_parts.contains ("73") or msg_parts.contains ("RRR")))
|| (type == 6 && !msg_parts.filter ("73").isEmpty ()));
}
int ms_minute_error ()