diff options
author | Tim Jenssen <tim.jenssen@nokia.com> | 2012-01-24 15:05:48 +0100 |
---|---|---|
committer | Tim Jenssen <tim.jenssen@nokia.com> | 2012-01-24 17:47:25 +0100 |
commit | 7fe38ad67787fad0d5c55a127fed6b083dace8dc (patch) | |
tree | 874c75eb10ff3837a20e3ca4c551d8a023aa7785 /installerbuilder/common | |
parent | 0cc66d16f426264085b24e8dee10e9dc00f482a8 (diff) |
clean up some qDebug messages
Change-Id: I707c4e757f9e050512166779e64dec76ec806879
Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
Diffstat (limited to 'installerbuilder/common')
-rw-r--r-- | installerbuilder/common/binaryformat.cpp | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/installerbuilder/common/binaryformat.cpp b/installerbuilder/common/binaryformat.cpp index 812df0d62..e95f11b66 100644 --- a/installerbuilder/common/binaryformat.cpp +++ b/installerbuilder/common/binaryformat.cpp @@ -995,11 +995,17 @@ void BinaryContent::readBinaryData(BinaryContent &content, const QSharedPointer< qDebug() << "Number of components loaded:" << components.count(); foreach (const QInstallerCreator::Component &component, components) { const QVector<QSharedPointer<Archive> > archives = component.archives(); - qDebug() << "Loaded component" << component.name() << "containing" << archives.count() - << "archives:"; + qDebug() << component.name().data() << "loaded ..."; + QStringList archivesWithSize; foreach (const QSharedPointer<Archive> &archive, archives) { - qDebug().nospace() << " Archive name:" << archive->name() << ", Archive size:" - << archive->size() << "bytes"; + QString archiveWithSize(QLatin1String("%1 - %2 Bytes")); + archiveWithSize = archiveWithSize.arg(QString::fromLocal8Bit(archive->name()), + QString::number(archive->size())); + archivesWithSize.append(archiveWithSize); + } + if (!archivesWithSize.isEmpty()) { + qDebug() << " - " << archives.count() << "archives: " + << qPrintable(archivesWithSize.join(QLatin1String("; "))); } } } |