diff options
author | Hannah von Reth <hannah.vonreth@owncloud.com> | 2020-10-02 15:25:19 +0300 |
---|---|---|
committer | Hannah von Reth <vonreth@kde.org> | 2020-10-04 17:38:22 +0300 |
commit | d12d09bb6995f6e119f65d468d9df3393f58123f (patch) | |
tree | 88f83443060b73e07c7c284048fcab8c3d862de1 /src/gui/updater | |
parent | 59a10bf250d987141335eb281799d792907dd8d2 (diff) |
Don't scare users with critical parser log messages
Diffstat (limited to 'src/gui/updater')
-rw-r--r-- | src/gui/updater/updateinfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/updater/updateinfo.cpp b/src/gui/updater/updateinfo.cpp index ace261c29..1114b4872 100644 --- a/src/gui/updater/updateinfo.cpp +++ b/src/gui/updater/updateinfo.cpp @@ -88,7 +88,7 @@ UpdateInfo UpdateInfo::parseString(const QString &xml, bool *ok) int errorLine, errorCol; QDomDocument doc; if (!doc.setContent(xml, false, &errorMsg, &errorLine, &errorCol)) { - qCCritical(lcUpdater).noquote().nospace() << errorMsg << " at " << errorLine << "," << errorCol + qCWarning(lcUpdater).noquote().nospace() << errorMsg << " at " << errorLine << "," << errorCol << "\n" << xml.splitRef("\n").value(errorLine-1) << "\n" << QString(" ").repeated(errorCol - 1) << "^\n" << "->" << xml << "<-"; |