diff --git a/src/plugins/resourceeditor/resourcenode.cpp b/src/plugins/resourceeditor/resourcenode.cpp index d270507f797..1820c20a613 100644 --- a/src/plugins/resourceeditor/resourcenode.cpp +++ b/src/plugins/resourceeditor/resourcenode.cpp @@ -513,3 +513,10 @@ QString ResourceFileNode::qrcPath() const { return m_qrcPath; } + +QList ResourceFileNode::supportedActions(ProjectExplorer::Node *node) const +{ + QList actions = parentFolderNode()->supportedActions(node); + actions.removeOne(ProjectExplorer::HidePathActions); + return actions; +} diff --git a/src/plugins/resourceeditor/resourcenode.h b/src/plugins/resourceeditor/resourcenode.h index e984151f1a4..867dfce7d92 100644 --- a/src/plugins/resourceeditor/resourcenode.h +++ b/src/plugins/resourceeditor/resourcenode.h @@ -105,6 +105,7 @@ public: QString displayName() const; QString qrcPath() const; + QList supportedActions(Node *node) const; private: ResourceTopLevelNode *m_topLevel;