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:
@@ -70,7 +70,7 @@ void CMakeLocatorFilter::prepareSearch(const QString &entry)
|
||||
const int index = title.indexOf(entry);
|
||||
if (index >= 0) {
|
||||
Core::LocatorFilterEntry filterEntry(this, title, cmakeProject->projectFilePath().toString());
|
||||
filterEntry.extraInfo = FileUtils::shortNativePath(cmakeProject->projectFilePath());
|
||||
filterEntry.extraInfo = cmakeProject->projectFilePath().shortNativePath();
|
||||
filterEntry.highlightInfo = {index, entry.length()};
|
||||
m_result.append(filterEntry);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user