mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2026-04-24 15:03:44 +02: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:
@@ -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 ¶m,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;
|
||||
|
||||
Reference in New Issue
Block a user