mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-13 06:03:37 +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:
@@ -128,7 +128,7 @@ QString RDEscapeBlob(const char *data,size_t len)
|
||||
QString ret="x'";
|
||||
|
||||
for(unsigned i=0;i<len;i++) {
|
||||
ret+=QString().sprintf("%02x",0xff&data[i]);
|
||||
ret+=QString::asprintf("%02x",0xff&data[i]);
|
||||
}
|
||||
|
||||
return ret+"'";
|
||||
|
Reference in New Issue
Block a user