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

@@ -149,7 +149,7 @@ QString RDLogFilter::whereSql() const
}
}
if(filter_recent_check->isChecked()) {
sql+=QString().sprintf("order by `LOGS`.`ORIGIN_DATETIME` desc limit %d",
sql+=QString::asprintf("order by `LOGS`.`ORIGIN_DATETIME` desc limit %d",
RD_LOGFILTER_LIMIT_QUAN);
}