Commit 5f9c7c89 authored by Tobias Hunger's avatar Tobias Hunger

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's avatarEike Ziller <>
parent e8a6c7e9
...@@ -270,6 +270,7 @@ ResourceTopLevelNode::ResourceTopLevelNode(const FileName &filePath, bool genera ...@@ -270,6 +270,7 @@ ResourceTopLevelNode::ResourceTopLevelNode(const FileName &filePath, bool genera
setIsGenerated(generated); setIsGenerated(generated);
setIcon(FileIconProvider::icon(filePath.toString())); setIcon(FileIconProvider::icon(filePath.toString()));
setPriority(Node::DefaultFilePriority); setPriority(Node::DefaultFilePriority);
if (!filePath.isEmpty()) { if (!filePath.isEmpty()) {
QFileInfo fi = filePath.toFileInfo(); QFileInfo fi = filePath.toFileInfo();
if (fi.isFile() && fi.isReadable()) { if (fi.isFile() && fi.isReadable()) {
Markdown is supported
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