1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-12-23 10:05:46 -05:00

Merge pull request #1442 from pinkavaj/pi-depr4

Replace deprecated QTextStream number conversion functions
This commit is contained in:
Edouard Griffiths 2022-09-24 03:06:31 +02:00 committed by GitHub
commit 27f09fa53e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;
}