aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/git/branchmodel.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/git/branchmodel.h')
-rw-r--r--src/plugins/git/branchmodel.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/git/branchmodel.h b/src/plugins/git/branchmodel.h
index ba0c2997359..267e911e914 100644
--- a/src/plugins/git/branchmodel.h
+++ b/src/plugins/git/branchmodel.h
@@ -25,6 +25,7 @@
#pragma once
+#include <utils/filepath.h>
#include <utils/optional.h>
#include <QAbstractListModel>
@@ -60,12 +61,12 @@ public:
Qt::ItemFlags flags(const QModelIndex &index) const override;
void clear();
- bool refresh(const QString &workingDirectory, QString *errorMessage);
+ bool refresh(const Utils::FilePath &workingDirectory, QString *errorMessage);
void renameBranch(const QString &oldName, const QString &newName);
void renameTag(const QString &oldName, const QString &newName);
- QString workingDirectory() const;
+ Utils::FilePath workingDirectory() const;
QModelIndex currentBranch() const;
QString fullName(const QModelIndex &idx, bool includePrefix = false) const;