summaryrefslogtreecommitdiffstats
path: root/src/libs/installer/component.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/installer/component.cpp')
-rw-r--r--src/libs/installer/component.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/libs/installer/component.cpp b/src/libs/installer/component.cpp
index e8abe2383..6cd48db4b 100644
--- a/src/libs/installer/component.cpp
+++ b/src/libs/installer/component.cpp
@@ -553,7 +553,7 @@ void Component::loadComponentScript(const QString &fileName)
} catch (const Error &error) {
if (packageManagerCore()->settings().allowUnstableComponents()) {
setUnstable(Component::Component::ScriptLoadingFailed, error.message());
- qWarning() << error.message();
+ qCWarning(QInstaller::lcGeneral) << error.message();
} else {
throw error;
}
@@ -871,7 +871,7 @@ void Component::addDownloadableArchive(const QString &path)
{
Q_ASSERT(isFromOnlineRepository());
- qDebug() << "addDownloadable" << path;
+ qCDebug(QInstaller::lcGeneral) << "addDownloadable" << path;
d->m_downloadableArchives.append(d->m_vars.value(scVersion) + path);
}
@@ -1332,7 +1332,8 @@ bool Component::isDefault() const
}
if (!valueFromScript.isError())
return valueFromScript.toBool();
- qDebug() << "Value from script is not valid." << (valueFromScript.toString().isEmpty()
+ qCWarning(QInstaller::lcGeneral) << "Value from script is not valid."
+ << (valueFromScript.toString().isEmpty()
? QString::fromLatin1("Unknown error.") : valueFromScript.toString());
return false;
}