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

@@ -115,7 +115,7 @@ void BtSentinel4Web::processCommand(RDMacro *cmd)
msg="*0MA";
}
else {
msg=QString().sprintf("*0%02u",input);
msg=QString::asprintf("*0%02u",input);
}
bt_socket->write(msg.toUtf8());
cmd->acknowledge(true);