mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-21 14:02:58 +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:
@@ -159,7 +159,7 @@ void ListPypads::addData()
|
||||
}
|
||||
else {
|
||||
sql=QString("delete from `PYPAD_INSTANCES` where ")+
|
||||
QString().sprintf("`ID`=%u",id);
|
||||
QString::asprintf("`ID`=%u",id);
|
||||
RDSqlQuery::apply(sql);
|
||||
}
|
||||
delete d;
|
||||
@@ -201,7 +201,7 @@ void ListPypads::deleteData()
|
||||
return;
|
||||
}
|
||||
sql=QString("delete from `PYPAD_INSTANCES` where ")+
|
||||
QString().sprintf("`ID`=%d",id);
|
||||
QString::asprintf("`ID`=%d",id);
|
||||
RDSqlQuery::apply(sql);
|
||||
list_list_model->removeInstance(id);
|
||||
RDNotification notify=
|
||||
|
Reference in New Issue
Block a user