mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-22 04:11:16 -05:00
Allow "TU; ..." msgs only in RTTY mode, for now. Fix a bug in adif.cpp.
This commit is contained in:
parent
343cef2e03
commit
b7dc5de1ad
@ -208,7 +208,8 @@ QByteArray ADIF::QSOToADIF(QString const& hisCall, QString const& hisGrid, QStri
|
||||
if(xSent!="") t += " <STX_STRING:" + QString::number(xSent.length()) + ">" + xSent;
|
||||
if(xRcvd!="") {
|
||||
t += " <SRX_STRING:" + QString::number(xRcvd.length()) + ">" + xRcvd;
|
||||
QString t1=xRcvd.split(" ").at(1);
|
||||
QString t1="";
|
||||
if(xRcvd.split(" ").size()==2) t1=xRcvd.split(" ").at(1);
|
||||
if(t1.toInt()>0) {
|
||||
t += " <SRX:" + QString::number(t1.length()) + ">" + t1;
|
||||
} else {
|
||||
|
@ -121,7 +121,7 @@ void LogQSO::accept()
|
||||
QString strDialFreq(QString::number(m_dialFreq / 1.e6,'f',6));
|
||||
operator_call = ui->loggedOperator->text();
|
||||
//Log this QSO to ADIF file "wsjtx_log.adi"
|
||||
QString filename = "wsjtx_log.adi"; // TODO allow user to set
|
||||
QString filename = "wsjtx_log.adi"; // TODO allow user to set
|
||||
ADIF adifile;
|
||||
auto adifilePath = QDir {QStandardPaths::writableLocation (QStandardPaths::DataLocation)}.absoluteFilePath ("wsjtx_log.adi");
|
||||
adifile.init(adifilePath);
|
||||
|
@ -4473,6 +4473,7 @@ void MainWindow::processMessage (DecodedText const& message, Qt::KeyboardModifie
|
||||
}
|
||||
else { // nothing for us
|
||||
if(message_words.size () > 3 // enough fields for a normal message
|
||||
&& m_nContest==RTTY
|
||||
&& (message_words.at(1).contains(m_baseCall) || "DE" == message_words.at(1))
|
||||
&& (!message_words.at(2).contains(qso_partner_base_call) and !bEU_VHF_w2)) {
|
||||
// Queue up the next QSO partner
|
||||
|
Loading…
Reference in New Issue
Block a user