Core: filepathify FileIconProvider

Change-Id: Id6fcc05317f3f5144c662fb4826438407f8d9d21
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
David Schulz
2021-06-08 12:54:22 +02:00
parent 093f3479ce
commit 43b6ada0db
16 changed files with 41 additions and 41 deletions

View File

@@ -47,7 +47,7 @@ QVariant FilePathItem::data(int column, int role) const
case Qt::DisplayRole:
return m_filePath;
case Qt::DecorationRole:
return Core::FileIconProvider::icon(QFileInfo(m_filePath));
return Core::FileIconProvider::icon(Utils::FilePath::fromString(m_filePath));
case Debugger::DetailedErrorView::FullTextRole:
return m_filePath;
default: