mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-11-29 08:40:12 +01: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:
@@ -21,11 +21,11 @@ of reading.
|
||||
Good:
|
||||
*report+=QString(" ")+
|
||||
logLine(i)->startTime(RDLogLine::Logged).toString("hh:mm:ss")+
|
||||
QString().sprintf(" - cart %06d [",logLine(i)->cartNumber())+
|
||||
QString::asprintf(" - cart %06d [",logLine(i)->cartNumber())+
|
||||
q->value(1).toString()+"] "+QObject::tr("is not playable")+"\n";
|
||||
|
||||
Bad:
|
||||
*report+=QString(" ")+logLine(i)->startTime(RDLogLine::Logged).toString("hh:mm:ss")+QString().sprintf(" - cart %06d [",logLine(i)->cartNumber())+q->value(1).toString()+"] "+QObject::tr("is not playable")+"\n";
|
||||
*report+=QString(" ")+logLine(i)->startTime(RDLogLine::Logged).toString("hh:mm:ss")+QString::asprintf(" - cart %06d [",logLine(i)->cartNumber())+q->value(1).toString()+"] "+QObject::tr("is not playable")+"\n";
|
||||
|
||||
|
||||
INDENTATION:
|
||||
|
||||
Reference in New Issue
Block a user