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:
@@ -620,7 +620,7 @@ QVariant BreakpointItem::data(int column, int role) const
|
||||
if (str.isEmpty() && !m_params.fileName.isEmpty())
|
||||
str = m_params.fileName;
|
||||
if (str.isEmpty()) {
|
||||
QString s = QFileInfo(str).fileName();
|
||||
QString s = Utils::FileName::fromString(str).fileName();
|
||||
if (!s.isEmpty())
|
||||
str = s;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user