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

@@ -2,7 +2,7 @@
//
// Abstract a Rivendell Log Manager Event.
//
// (C) Copyright 2002-2020 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2021 Fred Gleason <fredg@paravelsystems.com>
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
@@ -311,7 +311,7 @@ void RDEvent::SetRow(const QString &param,int value) const
QString sql;
sql=QString("update `EVENTS` set `")+
param+QString().sprintf("`=%d where ",value)+
param+QString::asprintf("`=%d where ",value)+
"`NAME`='"+RDEscapeString(event_name)+"'";
q=new RDSqlQuery(sql);
delete q;