mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
QProcess::start(path) is deprecated - adapt code (#3948)
This commit is contained in:
@@ -29,7 +29,7 @@ QProcess *getInterpreterProcess( QString path ) {
|
||||
QProcess *antProcess;
|
||||
|
||||
antProcess = new QProcess( );
|
||||
antProcess->start( path );
|
||||
antProcess->start( path, QStringList() /* arguments */);
|
||||
|
||||
if (!antProcess->waitForStarted()) {
|
||||
antProcess->deleteLater();
|
||||
|
||||
Reference in New Issue
Block a user