summaryrefslogtreecommitdiffstats
path: root/src/libs/installer/packagemanagercore.cpp
diff options
context:
space:
mode:
authorKarsten Heimrich <karsten.heimrich@qt.io>2017-01-16 14:59:31 +0100
committerKatja Marttila <katja.marttila@qt.io>2017-01-20 05:22:16 +0000
commit2ac28386a64327715a9795d0d0b55c234de0cef5 (patch)
tree4b13ee50f3e2344d3cce039bc28e73f585c62300 /src/libs/installer/packagemanagercore.cpp
parentfc09159454375aa2ff9502f8fe117dc924529fdf (diff)
Fix warning that should not appear on stdout
If the warning is written to stdout, parsing the output of --checkupdates might fail with invalid XML output. The change log shows that the warning was introduced in 70cc8ce0e1bd2beb15007045b99b26f6c6956206 and shown only in verbose mode, while change 70cc8ce0e1bd2beb15007045b99b26f6c6956206 made it always 'visible'. The later change went in probably without testing the check updates case... Change-Id: I9183089be89e823b4b082a7343885e360d9ad7f4 Reviewed-by: Riho Pihlak <rpihlak@gmail.com> Reviewed-by: Katja Marttila <katja.marttila@qt.io> Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Diffstat (limited to 'src/libs/installer/packagemanagercore.cpp')
-rw-r--r--src/libs/installer/packagemanagercore.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/installer/packagemanagercore.cpp b/src/libs/installer/packagemanagercore.cpp
index e02bc0add..d4391638f 100644
--- a/src/libs/installer/packagemanagercore.cpp
+++ b/src/libs/installer/packagemanagercore.cpp
@@ -2618,7 +2618,7 @@ void PackageManagerCore::storeReplacedComponents(QHash<QString, Component *> &co
if (!component) {
// This case can happen when in installer mode, but should not occur when updating
if (isUpdater())
- qWarning() << componentName << "- Does not exist in the repositories anymore.";
+ qDebug() << componentName << "- Does not exist in the repositories anymore.";
continue;
}
if (!component && !d->componentsToReplace().contains(componentName)) {