diff --git a/src/libs/utils/synchronousprocess.cpp b/src/libs/utils/synchronousprocess.cpp index cb2e1a5832e..faa608f3457 100644 --- a/src/libs/utils/synchronousprocess.cpp +++ b/src/libs/utils/synchronousprocess.cpp @@ -638,13 +638,6 @@ void SynchronousProcess::processStdErr(bool emitSignals) d->m_stdErr.append(d->m_process.readAllStandardError(), emitSignals); } -QSharedPointer SynchronousProcess::createProcess(unsigned flags) -{ - auto process = new TerminalControllingProcess; - process->setFlags(flags); - return QSharedPointer(process); -} - // Path utilities // Locate a binary in a directory, applying all kinds of diff --git a/src/libs/utils/synchronousprocess.h b/src/libs/utils/synchronousprocess.h index 86f5afbc690..fc9e4f84202 100644 --- a/src/libs/utils/synchronousprocess.h +++ b/src/libs/utils/synchronousprocess.h @@ -28,7 +28,6 @@ #include "utils_global.h" #include -#include #include #include @@ -130,9 +129,6 @@ public: // Starts the command blocking the UI fully SynchronousProcessResponse runBlocking(const CommandLine &cmd); - // Create a (derived) processes with flags applied. - static QSharedPointer createProcess(unsigned flags); - // Helpers to find binaries. Do not use it for other path variables // and file types. static QString locateBinary(const QString &binary);