forked from qt-creator/qt-creator
filesystem: Add QFSEngine for filepaths
Change-Id: Ibd0c88c69863c0877138d8cc45541530c359bd9c Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -25,10 +25,9 @@
|
||||
|
||||
#include "cppcheckdiagnosticsmodel.h"
|
||||
|
||||
#include <coreplugin/fileiconprovider.h>
|
||||
|
||||
#include <debugger/analyzer/diagnosticlocation.h>
|
||||
|
||||
#include <utils/fsengine/fileiconprovider.h>
|
||||
#include <utils/utilsicons.h>
|
||||
|
||||
namespace Cppcheck {
|
||||
@@ -47,7 +46,7 @@ QVariant FilePathItem::data(int column, int role) const
|
||||
case Qt::DisplayRole:
|
||||
return m_filePath;
|
||||
case Qt::DecorationRole:
|
||||
return Core::FileIconProvider::icon(Utils::FilePath::fromString(m_filePath));
|
||||
return Utils::FileIconProvider::icon(Utils::FilePath::fromString(m_filePath));
|
||||
case Debugger::DetailedErrorView::FullTextRole:
|
||||
return m_filePath;
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user