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

@@ -159,7 +159,7 @@ void ListPypads::addData()
}
else {
sql=QString("delete from `PYPAD_INSTANCES` where ")+
QString().sprintf("`ID`=%u",id);
QString::asprintf("`ID`=%u",id);
RDSqlQuery::apply(sql);
}
delete d;
@@ -201,7 +201,7 @@ void ListPypads::deleteData()
return;
}
sql=QString("delete from `PYPAD_INSTANCES` where ")+
QString().sprintf("`ID`=%d",id);
QString::asprintf("`ID`=%d",id);
RDSqlQuery::apply(sql);
list_list_model->removeInstance(id);
RDNotification notify=