Skip to content

Commit

Permalink
Merge pull request #1442 from pinkavaj/pi-depr4
Browse files Browse the repository at this point in the history
Replace deprecated QTextStream number conversion functions
  • Loading branch information
f4exb authored Sep 24, 2022
2 parents 16d110b + 53e19b3 commit 27f09fa
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion plugins/channelrx/demodnfm/nfmdemod.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
16 changes: 8 additions & 8 deletions sdrbench/test_golay2312.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand All @@ -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;
}

Expand All @@ -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;
}

Expand All @@ -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;
}

Expand Down

0 comments on commit 27f09fa

Please sign in to comment.