1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-21 23:55:13 -05:00

Replace deprecated QTextStream number conversion functions

This commit is contained in:
Jiří Pinkava 2022-09-23 23:34:02 +02:00
parent 16d110bb09
commit 53e19b36a0
2 changed files with 9 additions and 9 deletions

View File

@ -240,7 +240,7 @@ void NFMDemod::applySettings(const NFMDemodSettings& settings, bool force)
<< " m_ctcssIndex: " << settings.m_ctcssIndex
<< " m_ctcssOn: " << settings.m_ctcssOn
<< " m_dcsOn: " << settings.m_dcsOn
<< " m_dcsCode: " << oct << settings.m_dcsCode << dec
<< " m_dcsCode: " << Qt::oct << settings.m_dcsCode << Qt::dec
<< " m_dcsPositive: " << settings.m_dcsPositive
<< " m_highPass: " << settings.m_highPass
<< " m_audioMute: " << settings.m_audioMute

View File

@ -37,8 +37,8 @@ void MainBench::testGolay2312()
if (codeword != expectedCodeword)
{
qDebug() << "MainBench::testGolay2312:"
<< "encoder mismatch: got:" << oct << codeword
<< "expected:" << oct << expectedCodeword;
<< "encoder mismatch: got:" << Qt::oct << codeword
<< "expected:" << Qt::oct << expectedCodeword;
success = false;
}
@ -54,8 +54,8 @@ void MainBench::testGolay2312()
else if (rxCodeword != codeword)
{
qDebug() << "MainBench::testGolay2312:"
<< "decoder mismatch (no error): got:" << oct << rxCodeword
<< "expected:" << oct << codeword;
<< "decoder mismatch (no error): got:" << Qt::oct << rxCodeword
<< "expected:" << Qt::oct << codeword;
success = false;
}
@ -72,8 +72,8 @@ void MainBench::testGolay2312()
else if (rxCodeword != codeword)
{
qDebug() << "MainBench::testGolay2312:"
<< "decoder mismatch (parity[1]): got:" << oct << rxCodeword
<< "expected:" << oct << codeword;
<< "decoder mismatch (parity[1]): got:" << Qt::oct << rxCodeword
<< "expected:" << Qt::oct << codeword;
success = false;
}
@ -90,8 +90,8 @@ void MainBench::testGolay2312()
else if (rxCodeword != codeword)
{
qDebug() << "MainBench::testGolay2312:"
<< "decoder mismatch (parity[1,3]): got:" << oct << rxCodeword
<< "expected:" << oct << codeword;
<< "decoder mismatch (parity[1,3]): got:" << Qt::oct << rxCodeword
<< "expected:" << Qt::oct << codeword;
success = false;
}