PE: Move ResourceFileNode to ProjectExplorer

Avoids additional dependencies later on. No functional change.

Change-Id: Idc21ed856f4f31d68d55742b5796243227b254dc
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Christian Stenger
2022-06-14 12:34:15 +02:00
parent b28f907114
commit 734035194b
6 changed files with 40 additions and 42 deletions

View File

@@ -33,8 +33,6 @@
#include <projectexplorer/projecttree.h>
#include <projectexplorer/target.h>
#include <resourceeditor/resourcenode.h>
#include <utils/qtcassert.h>
namespace QmlPreview {
@@ -52,7 +50,7 @@ ProjectExplorer::Target *QmlPreviewFileOnTargetFinder::target() const
QString resourceNodePath(const ProjectExplorer::Node *node)
{
if (auto resourceNode = dynamic_cast<const ResourceEditor::ResourceFileNode *>(node))
if (auto resourceNode = dynamic_cast<const ProjectExplorer::ResourceFileNode *>(node))
return ":" + resourceNode->qrcPath();
return QString();
}