mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-16 09:01:59 -05:00
Correct a flaw in validating contest exchange data when logging.
This commit is contained in:
parent
c4d078f55f
commit
9226d0829f
@ -142,7 +142,7 @@ void LogQSO::accept()
|
|||||||
if(xrcvd!="" and hisGrid!=xrcvd) hisGrid=xrcvd;
|
if(xrcvd!="" and hisGrid!=xrcvd) hisGrid=xrcvd;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (special_op == SpOp::RTTY) {
|
if ((special_op == SpOp::RTTY and xsent!="" and xrcvd!="")) {
|
||||||
if(rptSent=="" or !xsent.contains(rptSent+" ")) rptSent=xsent.split(" ",QString::SkipEmptyParts).at(0);
|
if(rptSent=="" or !xsent.contains(rptSent+" ")) rptSent=xsent.split(" ",QString::SkipEmptyParts).at(0);
|
||||||
if(rptRcvd=="" or !xrcvd.contains(rptRcvd+" ")) rptRcvd=xrcvd.split(" ",QString::SkipEmptyParts).at(0);
|
if(rptRcvd=="" or !xrcvd.contains(rptRcvd+" ")) rptRcvd=xrcvd.split(" ",QString::SkipEmptyParts).at(0);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user