2021-09-01 Fred Gleason <fredg@paravelsystems.com>

* Cleaned up deprecation warnings for 'QString::sprintf()'.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2021-09-01 19:59:37 -04:00
parent 327ceacc06
commit ac594cc68b
298 changed files with 2880 additions and 2879 deletions

View File

@@ -61,7 +61,7 @@ BtAdms4422::BtAdms4422(RDMatrix *matrix,QObject *parent)
if(bt_device->open(QIODevice::Unbuffered|QIODevice::ReadWrite)) {
// Set Mix Mode
bt_device->
write(QString().sprintf("*%uUM0\r\n",BTADMS4422_UNIT_ID).toUtf8());
write(QString::asprintf("*%uUM0\r\n",BTADMS4422_UNIT_ID).toUtf8());
}
else {
rda->syslog(LOG_WARNING,"failed to open port \"%s\"",