mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-18 08:31:16 +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:
@@ -108,7 +108,7 @@ void AddReplicator::okData()
|
||||
|
||||
sql=QString("insert into `REPLICATORS` set ")+
|
||||
"`NAME`='"+RDEscapeString(repl_name_edit->text())+"',"+
|
||||
QString().sprintf("`TYPE_ID`=%u",RDReplicator::TypeCitadelXds);
|
||||
QString::asprintf("`TYPE_ID`=%u",RDReplicator::TypeCitadelXds);
|
||||
q=new RDSqlQuery(sql);
|
||||
if(!q->isActive()) {
|
||||
QMessageBox::warning(this,tr("Replicator Exists"),tr("A replicator with that name already exists!"));
|
||||
|
Reference in New Issue
Block a user