From 5f9c7c8986bef2af8bfd7dfa0143b9ae2029f977 Mon Sep 17 00:00:00 2001
From: Tobias Hunger <tobias.hunger@qt.io>
Date: Wed, 30 Aug 2017 16:39:37 +0200
Subject: [PATCH] Resources: List .qrc files in project

List .qrc files (and the files contained) in the project.

Task-number: QTCREATORBUG-18790
Change-Id: If23ffd42900d67bcc8d8c9d2ecfb0e82daf8c986
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
---
 src/plugins/resourceeditor/resourcenode.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/plugins/resourceeditor/resourcenode.cpp b/src/plugins/resourceeditor/resourcenode.cpp
index fe0ec8e789e..45c57c91260 100644
--- a/src/plugins/resourceeditor/resourcenode.cpp
+++ b/src/plugins/resourceeditor/resourcenode.cpp
@@ -270,6 +270,7 @@ ResourceTopLevelNode::ResourceTopLevelNode(const FileName &filePath, bool genera
     setIsGenerated(generated);
     setIcon(FileIconProvider::icon(filePath.toString()));
     setPriority(Node::DefaultFilePriority);
+    setListInProject(true);
     if (!filePath.isEmpty()) {
         QFileInfo fi = filePath.toFileInfo();
         if (fi.isFile() && fi.isReadable()) {
-- 
GitLab