aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/git/remotemodel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/git/remotemodel.cpp')
-rw-r--r--src/plugins/git/remotemodel.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/plugins/git/remotemodel.cpp b/src/plugins/git/remotemodel.cpp
index da2e2fe2d71..71d49397ac3 100644
--- a/src/plugins/git/remotemodel.cpp
+++ b/src/plugins/git/remotemodel.cpp
@@ -28,6 +28,8 @@
#include <utils/algorithm.h>
+using namespace Utils;
+
namespace Git {
namespace Internal {
@@ -97,7 +99,7 @@ bool RemoteModel::updateUrl(const QString &name, const QString &newUrl)
return success;
}
-QString RemoteModel::workingDirectory() const
+FilePath RemoteModel::workingDirectory() const
{
return m_workingDirectory;
}
@@ -179,7 +181,7 @@ void RemoteModel::clear()
endResetModel();
}
-bool RemoteModel::refresh(const QString &workingDirectory, QString *errorMessage)
+bool RemoteModel::refresh(const FilePath &workingDirectory, QString *errorMessage)
{
m_workingDirectory = workingDirectory;