summaryrefslogtreecommitdiff
path: root/src/plugins/vcsbase/vcsbaseclient.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/vcsbase/vcsbaseclient.h')
-rw-r--r--src/plugins/vcsbase/vcsbaseclient.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/plugins/vcsbase/vcsbaseclient.h b/src/plugins/vcsbase/vcsbaseclient.h
index e22fb509eb..abd901a85c 100644
--- a/src/plugins/vcsbase/vcsbaseclient.h
+++ b/src/plugins/vcsbase/vcsbaseclient.h
@@ -93,12 +93,10 @@ public:
const CommandHandler &handler,
RunFlags additionalFlags = RunFlags::None,
bool useOutputToWindow = true) const;
- // Simple helper to execute a single command using createCommand and enqueueJob.
void vcsExec(const Utils::FilePath &workingDirectory,
const QStringList &arguments,
- VcsBaseEditorWidget *editor = nullptr,
- bool useOutputToWindow = false,
- RunFlags additionalFlags = RunFlags::None) const;
+ RunFlags additionalFlags = RunFlags::None,
+ bool useOutputToWindow = true) const;
void vcsExecWithEditor(const Utils::FilePath &workingDirectory,
const QStringList &arguments,
VcsBaseEditorWidget *editor) const;