forked from qt-creator/qt-creator
Replace QFileInfo::fileName() with FileName::fileName()
Change-Id: I4852ff215abf25649fc5eac1e922ae901839ca3d Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
@@ -38,7 +38,6 @@
|
||||
#include <cplusplus/TypeOfExpression.h>
|
||||
|
||||
#include <QDir>
|
||||
#include <QFileInfo>
|
||||
#include <QSet>
|
||||
#include <QQueue>
|
||||
|
||||
@@ -258,7 +257,7 @@ Unknown::Unknown(const QString &type) : type(type)
|
||||
|
||||
CppInclude::CppInclude(const Document::Include &includeFile) :
|
||||
path(QDir::toNativeSeparators(includeFile.resolvedFileName())),
|
||||
fileName(QFileInfo(includeFile.resolvedFileName()).fileName())
|
||||
fileName(Utils::FileName::fromString(includeFile.resolvedFileName()).fileName())
|
||||
{
|
||||
helpCategory = TextEditor::HelpItem::Brief;
|
||||
helpIdCandidates = QStringList(fileName);
|
||||
|
||||
Reference in New Issue
Block a user