diff options
author | Martin Smith <msmith@trolltech.com> | 2010-01-08 11:47:14 (GMT) |
---|---|---|
committer | Martin Smith <msmith@trolltech.com> | 2010-01-08 11:47:14 (GMT) |
commit | 3aa77d64608f944592939c5d673f1b7dabec730f (patch) | |
tree | 05be66b2abf97e760bc2382e33f1e492b8b4901e /src | |
parent | 55c983e33d974d046d8deab8b68b85efdb9eb03a (diff) | |
download | Qt-3aa77d64608f944592939c5d673f1b7dabec730f.zip Qt-3aa77d64608f944592939c5d673f1b7dabec730f.tar.gz Qt-3aa77d64608f944592939c5d673f1b7dabec730f.tar.bz2 |
doc: Explained parameter value defaults where appropriate.
Task-number: QTBUG-6607
Diffstat (limited to 'src')
-rw-r--r-- | src/tools/rcc/rcc.cpp | 25 |
1 files changed, 20 insertions, 5 deletions
diff --git a/src/tools/rcc/rcc.cpp b/src/tools/rcc/rcc.cpp index 33653d6..e41cd55 100644 --- a/src/tools/rcc/rcc.cpp +++ b/src/tools/rcc/rcc.cpp @@ -452,8 +452,16 @@ bool RCCResourceLibrary::interpretResourceFile(QIODevice *inputDevice, else return false; } else if (file.isFile()) { - const bool arc = addFile(alias, RCCFileInfo(alias.section(slash, -1), file, language, country, - RCCFileInfo::NoFlags, compressLevel, compressThreshold)); + const bool arc = + addFile(alias, + RCCFileInfo(alias.section(slash, -1), + file, + language, + country, + RCCFileInfo::NoFlags, + compressLevel, + compressThreshold) + ); if (!arc) m_failedResources.push_back(absFileName); } else { @@ -473,9 +481,16 @@ bool RCCResourceLibrary::interpretResourceFile(QIODevice *inputDevice, it.next(); QFileInfo child(it.fileInfo()); if (child.fileName() != QLatin1String(".") && child.fileName() != QLatin1String("..")) { - const bool arc = addFile(alias + child.fileName(), - RCCFileInfo(child.fileName(), child, language, country, - RCCFileInfo::NoFlags, compressLevel, compressThreshold)); + const bool arc = + addFile(alias + child.fileName(), + RCCFileInfo(child.fileName(), + child, + language, + country, + RCCFileInfo::NoFlags, + compressLevel, + compressThreshold) + ); if (!arc) m_failedResources.push_back(child.fileName()); } |