From 10f574a1ec6811048f31981c3d125deda6eefe6a Mon Sep 17 00:00:00 2001 From: Bill Somerville Date: Fri, 22 Jan 2021 22:59:38 +0000 Subject: [PATCH] Qt 5.15 compatibility --- widgets/mainwindow.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/widgets/mainwindow.cpp b/widgets/mainwindow.cpp index 7038275b8..a8e83d05a 100644 --- a/widgets/mainwindow.cpp +++ b/widgets/mainwindow.cpp @@ -3378,9 +3378,7 @@ void MainWindow::readFromStdout() //readFromStdout int n0=n2/1000; int n1=n2%1000; if(m_mode=="Q65") { - QString t; - t.sprintf("%d %d",n0,n1); - ndecodes_label.setText(t); + ndecodes_label.setText(QString {"%1 %2"}.arg (n0).arg (n1)); } else { if(m_nDecodes==0) ndecodes_label.setText("0"); }