Commit cb8d6c0c authored by Daniel Teske's avatar Daniel Teske
Browse files

Show "Open containing folder" also for files of qrc nodes.



Task-number: QTCREATORBUG-12374
Change-Id: I9dd8bbf9134bac65fbaa70b0614b27365377b0bf
Reviewed-by: default avatarDaniel Teske <daniel.teske@digia.com>
parent 4df72c08
......@@ -513,3 +513,10 @@ QString ResourceFileNode::qrcPath() const
{
return m_qrcPath;
}
QList<ProjectExplorer::ProjectAction> ResourceFileNode::supportedActions(ProjectExplorer::Node *node) const
{
QList<ProjectExplorer::ProjectAction> actions = parentFolderNode()->supportedActions(node);
actions.removeOne(ProjectExplorer::HidePathActions);
return actions;
}
......@@ -105,6 +105,7 @@ public:
QString displayName() const;
QString qrcPath() const;
QList<ProjectExplorer::ProjectAction> supportedActions(Node *node) const;
private:
ResourceTopLevelNode *m_topLevel;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment