mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2026-01-15 17:11:33 +01:00
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:
@@ -111,7 +111,7 @@ void ListReplicatorCarts::repostData()
|
||||
QString sql=QString("update `REPL_CART_STATE` set ")+
|
||||
"`REPOST`='Y' where ";
|
||||
for(int i=0;i<rows.size();i++) {
|
||||
sql+=QString().sprintf("(`ID`=%u)||",list_model->cartId(rows.at(i)));
|
||||
sql+=QString::asprintf("(`ID`=%u)||",list_model->cartId(rows.at(i)));
|
||||
}
|
||||
sql=sql.left(sql.length()-2);
|
||||
RDSqlQuery::apply(sql);
|
||||
|
||||
Reference in New Issue
Block a user