Loading editor/gitfilesystemmodel.cpp +5 −0 Changes for editor/gitfilesystemmodel.cpp: 5 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -111,6 +111,11 @@ QVariant GitFileSystemModel::data(const QModelIndex &index, int role) const { return QFileSystemModel::data(index, role); } int GitFileSystemModel::columnCount(const QModelIndex &parent) const { Q_UNUSED(parent); return 1; } void GitFileSystemModel::updateGitIgnore(const QString &repoPath) { QString gitPath = findGitRepo(repoPath); if (gitPath.isEmpty()) { Loading editor/gitfilesystemmodel.h +1 −0 Changes for editor/gitfilesystemmodel.h: 1 added line, 0 removed lines. Original line number Diff line number Diff line Loading @@ -23,6 +23,7 @@ public: QHash<int, QByteArray> roleNames() const override; QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const override; int columnCount(const QModelIndex &parent = QModelIndex()) const override; Q_INVOKABLE void refreshGitStatus(); Loading Loading
editor/gitfilesystemmodel.cpp +5 −0 Changes for editor/gitfilesystemmodel.cpp: 5 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -111,6 +111,11 @@ QVariant GitFileSystemModel::data(const QModelIndex &index, int role) const { return QFileSystemModel::data(index, role); } int GitFileSystemModel::columnCount(const QModelIndex &parent) const { Q_UNUSED(parent); return 1; } void GitFileSystemModel::updateGitIgnore(const QString &repoPath) { QString gitPath = findGitRepo(repoPath); if (gitPath.isEmpty()) { Loading
editor/gitfilesystemmodel.h +1 −0 Changes for editor/gitfilesystemmodel.h: 1 added line, 0 removed lines. Original line number Diff line number Diff line Loading @@ -23,6 +23,7 @@ public: QHash<int, QByteArray> roleNames() const override; QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const override; int columnCount(const QModelIndex &parent = QModelIndex()) const override; Q_INVOKABLE void refreshGitStatus(); Loading