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

@@ -161,13 +161,13 @@ void EditSchedRules::importData()
sql+="MAX_ROW=null,";
}
else {
sql+=QString().sprintf("MAX_ROW=%u,",q->value(2).toUInt());
sql+=QString::asprintf("MAX_ROW=%u,",q->value(2).toUInt());
}
if(q->value(3).isNull()) {
sql+="MIN_WAIT=null,";
}
else {
sql+=QString().sprintf("MIN_WAIT=%u,",q->value(3).toUInt());
sql+=QString::asprintf("MIN_WAIT=%u,",q->value(3).toUInt());
}
if(q->value(4).isNull()) {
sql+="NOT_AFTER=null,";