aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/vcsbase/vcscommand.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/vcsbase/vcscommand.cpp')
-rw-r--r--src/plugins/vcsbase/vcscommand.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/vcsbase/vcscommand.cpp b/src/plugins/vcsbase/vcscommand.cpp
index 700943ce5c1..dad00d79075 100644
--- a/src/plugins/vcsbase/vcscommand.cpp
+++ b/src/plugins/vcsbase/vcscommand.cpp
@@ -37,11 +37,11 @@ using namespace Utils;
namespace VcsBase {
-VcsCommand::VcsCommand(const QString &workingDirectory, const Environment &environment) :
- Core::ShellCommand(workingDirectory, environment),
+VcsCommand::VcsCommand(const FilePath &workingDirectory, const Environment &environment) :
+ Core::ShellCommand(workingDirectory.toString(), environment),
m_preventRepositoryChanged(false)
{
- VcsOutputWindow::setRepository(workingDirectory);
+ VcsOutputWindow::setRepository(workingDirectory.toString());
setDisableUnixTerminal();
m_sshPrompt = VcsBase::sshPrompt();