mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-17 16:11:12 +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:
@@ -381,7 +381,7 @@ MainObject::MainObject(QObject *parent)
|
||||
void MainObject::WriteSchemaVersion(int ver) const
|
||||
{
|
||||
QString sql=QString("update `VERSION` set ")+
|
||||
QString().sprintf("`DB`=%d",ver);
|
||||
QString::asprintf("`DB`=%d",ver);
|
||||
RDSqlQuery::apply(sql);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user