Vcs: Use more FilePath for file paths

Change-Id: I855cde65d034a9647972a7fddf1e8266d7ccfa88
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
hjk
2021-07-30 16:46:27 +02:00
parent 17f907da9b
commit ff57cb548d
88 changed files with 1204 additions and 1159 deletions

View File

@@ -27,6 +27,8 @@
#include <coreplugin/inavigationwidgetfactory.h>
#include <utils/filepath.h>
#include <QPointer>
#include <QWidget>
@@ -55,8 +57,8 @@ class BranchView : public QWidget
public:
explicit BranchView();
void refreshIfSame(const QString &repository);
void refresh(const QString &repository, bool force);
void refreshIfSame(const Utils::FilePath &repository);
void refresh(const Utils::FilePath &repository, bool force);
void refreshCurrentBranch();
QList<QToolButton *> createToolButtons();
@@ -94,7 +96,7 @@ private:
Utils::NavigationTreeView *m_branchView = nullptr;
BranchModel *m_model = nullptr;
BranchFilterModel *m_filterModel = nullptr;
QString m_repository;
Utils::FilePath m_repository;
};
class BranchViewFactory : public Core::INavigationWidgetFactory