forked from qt-creator/qt-creator
Core: filepathify FileIconProvider
Change-Id: Id6fcc05317f3f5144c662fb4826438407f8d9d21 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -58,7 +58,7 @@ QVariant FilePathItem::data(int column, int role) const
|
||||
case Qt::DisplayRole:
|
||||
return m_filePath.toUserOutput();
|
||||
case Qt::DecorationRole:
|
||||
return Core::FileIconProvider::icon(m_filePath.toFileInfo());
|
||||
return Core::FileIconProvider::icon(m_filePath);
|
||||
case Debugger::DetailedErrorView::FullTextRole:
|
||||
return m_filePath.toUserOutput();
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user