aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/resourceeditor/qrceditor
diff options
context:
space:
mode:
authorMarcus Tillmanns <marcus.tillmanns@qt.io>2022-05-31 11:16:44 +0200
committerMarcus Tillmanns <marcus.tillmanns@qt.io>2022-07-21 13:14:01 +0000
commit3462bc67be64d8caf59ed2f9a0ba6f5edddba3b9 (patch)
tree3c1b78f5a1709e754b1567be5bf5edd73f5288b0 /src/plugins/resourceeditor/qrceditor
parenta5d44fb32b7d66448d3b1a4f871957eff02107f5 (diff)
filesystem: Add QFSEngine for filepaths
Change-Id: Ibd0c88c69863c0877138d8cc45541530c359bd9c Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/resourceeditor/qrceditor')
-rw-r--r--src/plugins/resourceeditor/qrceditor/resourcefile.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/resourceeditor/qrceditor/resourcefile.cpp b/src/plugins/resourceeditor/qrceditor/resourcefile.cpp
index b89ddffb88..fd8e7469a9 100644
--- a/src/plugins/resourceeditor/qrceditor/resourcefile.cpp
+++ b/src/plugins/resourceeditor/qrceditor/resourcefile.cpp
@@ -25,7 +25,6 @@
#include "resourcefile_p.h"
-#include <coreplugin/fileiconprovider.h>
#include <coreplugin/fileutils.h>
#include <coreplugin/icore.h>
#include <coreplugin/vcsmanager.h>
@@ -33,6 +32,7 @@
#include <utils/algorithm.h>
#include <utils/filepath.h>
+#include <utils/fsengine/fileiconprovider.h>
#include <utils/removefiledialog.h>
#include <utils/theme/theme.h>
@@ -580,7 +580,7 @@ void ResourceFile::clearPrefixList()
ResourceModel::ResourceModel(QObject *parent)
: QAbstractItemModel(parent), m_dirty(false)
{
- static QIcon resourceFolderIcon = Core::FileIconProvider::directoryIcon(QLatin1String(ProjectExplorer::Constants::FILEOVERLAY_QRC));
+ static QIcon resourceFolderIcon = Utils::FileIconProvider::directoryIcon(QLatin1String(ProjectExplorer::Constants::FILEOVERLAY_QRC));
m_prefixIcon = resourceFolderIcon;
}
@@ -797,7 +797,7 @@ QVariant ResourceModel::data(const QModelIndex &index, int role) const
if (iconFileExtension(path))
file->icon = QIcon(path);
else
- file->icon = Core::FileIconProvider::icon(Utils::FilePath::fromString(path));
+ file->icon = Utils::FileIconProvider::icon(Utils::FilePath::fromString(path));
}
if (!file->icon.isNull())
result = file->icon;