From f1aa02d1dde0c9fdf52dba1ed15d83b144ee8aca Mon Sep 17 00:00:00 2001 From: Tim Jenssen Date: Wed, 13 Mar 2013 14:56:36 +0100 Subject: Introduce QInstallerTools::copyWithException function Also use this new function and clean up some output lines related to this. Change-Id: I74e9385b449bbca79b70fbd214c5fa75b419ea29 Reviewed-by: Karsten Heimrich Reviewed-by: Tim Jenssen --- tools/binarycreator/binarycreator.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tools/binarycreator/binarycreator.cpp') diff --git a/tools/binarycreator/binarycreator.cpp b/tools/binarycreator/binarycreator.cpp index 594686e61..5b4083c19 100644 --- a/tools/binarycreator/binarycreator.cpp +++ b/tools/binarycreator/binarycreator.cpp @@ -485,10 +485,10 @@ static QString createMetaDataDirectory(const QInstallerTools::PackageInfoVector QDirIterator it(absoluteConfigPath, QDir::Files | QDir::NoDotAndDotDot, QDirIterator::Subdirectories); while (it.hasNext()) { const QString next = it.next(); - if (next.contains(QLatin1String("/."))) // skip files that are in directories starting with a point + if (next.contains(QLatin1String("/."))) // skip files that are in directories starting with a dot continue; - qDebug() << "\tFound configuration file: " << next; + qDebug() << "Found configuration file: " << next; const QFileInfo sourceFileInfo(next); const QString source = sourceFileInfo.absoluteFilePath(); QFileInfo targetFileInfo(configCopy, QFileInfo(next).fileName()); @@ -740,7 +740,7 @@ int main(int argc, char **argv) qDebug() << "Creating component info for" << info.name; foreach (const QString &archive, info.copiedArchives) { const QSharedPointer arch(new Archive(archive)); - qDebug() << QString::fromLatin1("\tAppending %1 (%2)").arg(archive, + qDebug() << QString::fromLatin1("Appending %1 (%2)").arg(archive, humanReadableSize(arch->size())); comp.appendArchive(arch); } -- cgit v1.2.3