forked from qt-creator/qt-creator
Utils: Remove unused SyncronousProcess::createProcess
Change-Id: I6be9c4d197c29192036dc872471553b23035c159 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -638,13 +638,6 @@ void SynchronousProcess::processStdErr(bool emitSignals)
|
||||
d->m_stdErr.append(d->m_process.readAllStandardError(), emitSignals);
|
||||
}
|
||||
|
||||
QSharedPointer<QProcess> SynchronousProcess::createProcess(unsigned flags)
|
||||
{
|
||||
auto process = new TerminalControllingProcess;
|
||||
process->setFlags(flags);
|
||||
return QSharedPointer<QProcess>(process);
|
||||
}
|
||||
|
||||
// Path utilities
|
||||
|
||||
// Locate a binary in a directory, applying all kinds of
|
||||
|
@@ -28,7 +28,6 @@
|
||||
#include "utils_global.h"
|
||||
|
||||
#include <QProcess>
|
||||
#include <QSharedPointer>
|
||||
#include <QTextCodec>
|
||||
|
||||
#include <functional>
|
||||
@@ -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<QProcess> createProcess(unsigned flags);
|
||||
|
||||
// Helpers to find binaries. Do not use it for other path variables
|
||||
// and file types.
|
||||
static QString locateBinary(const QString &binary);
|
||||
|
Reference in New Issue
Block a user