Convert stream preflight checks to bullet points

This commit is contained in:
Srivats P 2016-12-10 13:50:52 +05:30
parent a838d09fbd
commit cfa7d80f7b
2 changed files with 7 additions and 7 deletions

View File

@ -1236,15 +1236,15 @@ void StreamConfigDialog::on_pbOk_clicked()
if ((mPort.transmitMode() == OstProto::kInterleavedTransmit)
&& (mpStream->isFrameVariable()))
{
log += "In 'Interleaved Streams' transmit mode, the count for "
log += "* In 'Interleaved Streams' transmit mode, the count for "
"varying fields at transmit time may not be same as configured\n";
}
if (!mPort.trackStreamStats()
&& mpStream->hasProtocol(OstProto::Protocol::kSignFieldNumber))
{
log += "Stream contains special signature, but per stream statistics "
"will not be available till it is enabled on the port.\n";
log += "* Stream contains special signature, but per stream statistics "
"will not be available till it is enabled on the port\n";
}
mpStream->preflightCheck(log);

View File

@ -611,8 +611,8 @@ bool StreamBase::preflightCheck(QString &result) const
if (chkTrunc && (pktLen < (frameProtocolLength(i) + kFcsSize)))
{
result += QString("One or more frames may be truncated - "
"frame length should be at least %1.\n")
result += QString("* One or more frames may be truncated - "
"frame length should be at least %1\n")
.arg(frameProtocolLength(i) + kFcsSize);
chkTrunc = false;
pass = false;
@ -620,8 +620,8 @@ bool StreamBase::preflightCheck(QString &result) const
if (chkJumbo && (pktLen > 1522))
{
result += QString("Jumbo frames may be truncated or dropped "
"if not supported by the hardware.\n");
result += QString("* Jumbo frames may be truncated or dropped "
"if not supported by the hardware\n");
chkJumbo = false;
pass = false;
}