summaryrefslogtreecommitdiffstats
path: root/installerbuilder/installerbase/installerbase.cpp
diff options
context:
space:
mode:
authorkh1 <karsten.heimrich@nokia.com>2012-01-16 23:42:54 +0100
committerTim Jenssen <tim.jenssen@nokia.com>2012-01-17 12:05:35 +0100
commit376804db8788bfde1985b9d2bbc14af68e9c9260 (patch)
treeb9eeb78e473ce4e98087f00e625fe31350188221 /installerbuilder/installerbase/installerbase.cpp
parente5c477906fd506cf06ac95311a5b3512a6d85e47 (diff)
Use qDebug instead of verbose.
The message handler now forwards everything to the verbosew riter anyway. Change-Id: I822f86e8f2e2e7690a3b855ed83199d2f41dc480 Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
Diffstat (limited to 'installerbuilder/installerbase/installerbase.cpp')
-rw-r--r--installerbuilder/installerbase/installerbase.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/installerbuilder/installerbase/installerbase.cpp b/installerbuilder/installerbase/installerbase.cpp
index a3c815f86..3c8f41f4f 100644
--- a/installerbuilder/installerbase/installerbase.cpp
+++ b/installerbuilder/installerbase/installerbase.cpp
@@ -76,7 +76,7 @@ static QSet<Repository> repositories(const QStringList &arguments, const int ind
QStringList items = arguments.at(index).split(QLatin1Char(','));
foreach (const QString &item, items) {
set.insert(Repository(item, false));
- verbose() << "Adding custom repository:" << item << std::endl;
+ qDebug() << "Adding custom repository:" << item;
}
} else {
std::cerr << "No repository specified" << std::endl;
@@ -229,14 +229,14 @@ int main(int argc, char *argv[])
}
if (QInstaller::isVerbose()) {
- verbose() << VERSION << std::endl;
- verbose() << "Arguments: " << args << std::endl;
- verbose() << "Resource tree before loading the in-binary resource: " << std::endl;
+ qDebug() << VERSION;
+ qDebug() << "Arguments:" << args;
+ qDebug() << "Resource tree before loading the in-binary resource:";
QDir dir(QLatin1String(":/"));
foreach (const QString &i, dir.entryList()) {
const QByteArray ba = i.toUtf8();
- verbose() << " :/" << ba.constData() << std::endl;
+ qDebug().nospace() << " :/" << ba.constData();
}
}
@@ -262,15 +262,15 @@ int main(int argc, char *argv[])
}
if (QInstaller::isVerbose()) {
- verbose() << "Resource tree after loading the in-binary resource: " << std::endl;
+ qDebug() << "Resource tree after loading the in-binary resource:";
QDir dir = QDir(QLatin1String(":/"));
foreach (const QString &i, dir.entryList())
- verbose() << QString::fromLatin1(" :/%1").arg(i) << std::endl;
+ qDebug() << QString::fromLatin1(" :/%1").arg(i);
dir = QDir(QLatin1String(":/metadata/"));
foreach (const QString &i, dir.entryList())
- verbose() << QString::fromLatin1(" :/metadata/%1").arg(i) << std::endl;
+ qDebug() << QString::fromLatin1(" :/metadata/%1").arg(i);
}
QString controlScript;