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:
@@ -2,7 +2,7 @@
|
||||
//
|
||||
// Process container for the Rivendell Services Manager
|
||||
//
|
||||
// (C) Copyright 2018 Fred Gleason <fredg@paravelsystems.com>
|
||||
// (C) Copyright 2018-2021 Fred Gleason <fredg@paravelsystems.com>
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License version 2 as
|
||||
@@ -108,7 +108,7 @@ void RDProcess::finishedData(int exit_code,QProcess::ExitStatus status)
|
||||
else {
|
||||
if(exit_code!=0) {
|
||||
p_error_text=tr("process returned exit code")+
|
||||
QString().sprintf(" %d ",exit_code)+
|
||||
QString::asprintf(" %d ",exit_code)+
|
||||
"["+p_process->readAllStandardError()+"]";
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user