forked from qt-creator/qt-creator
Vcs/Utils: Use Utils::Environment for ShellCommand
Change-Id: Ica289ab2f83d52270923c4ff4983860cfbe0b494 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -29,14 +29,16 @@
|
||||
|
||||
#include <diffeditor/diffeditorcontroller.h>
|
||||
|
||||
#include <QProcessEnvironment>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
class QTextCodec;
|
||||
QT_END_NAMESPACE
|
||||
|
||||
namespace Core { class IDocument; }
|
||||
namespace Utils { class FilePath; }
|
||||
|
||||
namespace Utils {
|
||||
class Environment;
|
||||
class FilePath;
|
||||
} // Utils
|
||||
|
||||
namespace VcsBase {
|
||||
|
||||
@@ -50,7 +52,7 @@ public:
|
||||
explicit VcsBaseDiffEditorController(Core::IDocument *document);
|
||||
~VcsBaseDiffEditorController() override;
|
||||
|
||||
void setProcessEnvironment(const QProcessEnvironment &value);
|
||||
void setProcessEnvironment(const Utils::Environment &value);
|
||||
void setVcsBinary(const Utils::FilePath &path);
|
||||
void setVcsTimeoutS(int value);
|
||||
void setWorkingDirectory(const QString &workingDir);
|
||||
|
||||
Reference in New Issue
Block a user