From bb8c83986f9ebfb324210a08aea7b182c3afa219 Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Fri, 13 Jul 2012 19:38:32 +0200 Subject: Set the Directory flag when we find a directory. Change-Id: I103a0b8e7b7ba673d00f920944026d7d04fac193 Reviewed-by: hjk --- src/tools/rcc/rcc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tools/rcc') 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) ); -- cgit v1.2.3