forked from qt-creator/qt-creator
VCS: Set repository for VcsCommand
Makes file names right-clickable. Change-Id: I96ba21e73d54819148f13fcb033a144146b00418 Reviewed-by: André Hartmann <aha_1980@gmx.de>
This commit is contained in:
committed by
Orgad Shaneh
parent
b52ffa2501
commit
f15d6d0baf
@@ -43,6 +43,7 @@ VcsCommand::VcsCommand(const QString &workingDirectory,
|
||||
Core::ShellCommand(workingDirectory, environment),
|
||||
m_preventRepositoryChanged(false)
|
||||
{
|
||||
VcsOutputWindow::setRepository(workingDirectory);
|
||||
setOutputProxyFactory([this] {
|
||||
auto proxy = new OutputProxy;
|
||||
VcsOutputWindow *outputWindow = VcsOutputWindow::instance();
|
||||
|
Reference in New Issue
Block a user