forked from qt-creator/qt-creator
ShellCommand: Store workingdirectory in the jobs
Not all jobs of one command can run in the same directory, so prepare for having individual working directories per job. Change-Id: Ice43361fe54f2b7153ccd38435f6108d83570082 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -472,7 +472,7 @@ class ConflictHandler : public QObject
|
||||
Q_OBJECT
|
||||
public:
|
||||
static void attachToCommand(VcsCommand *command, const QString &abortCommand = QString()) {
|
||||
ConflictHandler *handler = new ConflictHandler(command->workingDirectory(), abortCommand);
|
||||
ConflictHandler *handler = new ConflictHandler(command->defaultWorkingDirectory(), abortCommand);
|
||||
handler->setParent(command); // delete when command goes out of scope
|
||||
|
||||
command->addFlags(VcsCommand::ExpectRepoChanges);
|
||||
|
||||
Reference in New Issue
Block a user