forked from qt-creator/qt-creator
CPlusPlus: Use FilePath for resolved include paths
... and fix fallout. Change-Id: I66886e91ff476eff15db51cc024a8021e952d44d Reviewed-by: Christian Kandeler <christian.kandeler@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
This commit is contained in:
@@ -25,8 +25,8 @@ public:
|
||||
QStringList mimeTypes() const override;
|
||||
QMimeData *mimeData(const QModelIndexList &indexes) const override;
|
||||
|
||||
void buildHierarchy(const QString &filePath);
|
||||
QString editorFilePath() const { return m_editorFilePath; }
|
||||
void buildHierarchy(const Utils::FilePath &filePath);
|
||||
const Utils::FilePath &editorFilePath() const { return m_editorFilePath; }
|
||||
void setSearching(bool on);
|
||||
QString toString() const;
|
||||
|
||||
@@ -37,8 +37,8 @@ public:
|
||||
|
||||
private:
|
||||
friend class CppIncludeHierarchyItem;
|
||||
QString m_editorFilePath;
|
||||
QSet<QString> m_seen;
|
||||
Utils::FilePath m_editorFilePath;
|
||||
QSet<Utils::FilePath> m_seen;
|
||||
bool m_searching = false;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user