forked from qt-creator/qt-creator
Utils: Make FileName::shortNativePath a member
Change-Id: If1ab02ae9dc7efb97792cdf3bbdce3bba18b3e3d Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -88,7 +88,7 @@ QString IndexItem::representDeclaration() const
|
||||
|
||||
QString IndexItem::shortNativeFilePath() const
|
||||
{
|
||||
return Utils::FileUtils::shortNativePath(Utils::FileName::fromString(m_fileName));
|
||||
return Utils::FileName::fromString(m_fileName).shortNativePath();
|
||||
}
|
||||
|
||||
void IndexItem::squeeze()
|
||||
|
||||
Reference in New Issue
Block a user