summaryrefslogtreecommitdiffstats
path: root/src/tools/rcc/rcc.cpp
diff options
context:
space:
mode:
authorStephen Kelly <stephen.kelly@kdab.com>2012-07-13 19:38:32 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-10-26 18:57:54 +0200
commitbb8c83986f9ebfb324210a08aea7b182c3afa219 (patch)
treea9ab8db9745e95b9ff6547fdf3a01c2e75f762ba /src/tools/rcc/rcc.cpp
parentae789544e4a239a1e26ab96fd07603cee016cd18 (diff)
Set the Directory flag when we find a directory.
Change-Id: I103a0b8e7b7ba673d00f920944026d7d04fac193 Reviewed-by: hjk <qthjk@ovi.com>
Diffstat (limited to 'src/tools/rcc/rcc.cpp')
-rw-r--r--src/tools/rcc/rcc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/rcc/rcc.cpp b/src/tools/rcc/rcc.cpp
index 10d7c093fc..969b644d84 100644
--- a/src/tools/rcc/rcc.cpp
+++ b/src/tools/rcc/rcc.cpp
@@ -535,7 +535,7 @@ bool RCCResourceLibrary::interpretResourceFile(QIODevice *inputDevice,
child,
language,
country,
- RCCFileInfo::NoFlags,
+ child.isDir() ? RCCFileInfo::Directory : RCCFileInfo::NoFlags,
compressLevel,
compressThreshold)
);