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:
@@ -65,7 +65,7 @@ bool RDInstanceLock::lock()
|
||||
strerror(errno));
|
||||
}
|
||||
fclose(file);
|
||||
dir.setPath(QString().sprintf("/proc/%u",pid));
|
||||
dir.setPath(QString::asprintf("/proc/%u",pid));
|
||||
if(!dir.exists()) {
|
||||
unlink(lock_path.toUtf8());
|
||||
if(MakeLock()) {
|
||||
|
Reference in New Issue
Block a user