diff options
author | Tobias Hunger <tobias.hunger@qt.io> | 2017-05-22 15:30:56 +0200 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@qt.io> | 2017-05-22 14:47:45 +0000 |
commit | 2ec987ff49ec7aec273917a12ea7c1057da6974b (patch) | |
tree | 965d95921854cabb28aa285a8839b8530fa6e09f | |
parent | 013642b0a714d3ffffb9b2e11a0ff4c28982eeeb (diff) |
Resources: List .qrc-files with the other files
List .qrc-files with the other files, even though they can be
expanded to reveal the resource files contents.
Task-number: QTCREATORBUG-18234
Change-Id: Iad05fb358c35eb81c4f74b7a0524447801981ae5
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
-rw-r--r-- | src/plugins/resourceeditor/resourcenode.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/resourceeditor/resourcenode.cpp b/src/plugins/resourceeditor/resourcenode.cpp index af4b899928..cb7b5be887 100644 --- a/src/plugins/resourceeditor/resourcenode.cpp +++ b/src/plugins/resourceeditor/resourcenode.cpp @@ -269,6 +269,7 @@ ResourceTopLevelNode::ResourceTopLevelNode(const FileName &filePath, bool genera { setIsGenerated(generated); setIcon(FileIconProvider::icon(filePath.toString())); + setPriority(Node::DefaultFilePriority); if (!filePath.isEmpty()) { QFileInfo fi = filePath.toFileInfo(); if (fi.isFile() && fi.isReadable()) { |