From 6d39b858d4ed6be010b66c4c7c5f55b032f4dba1 Mon Sep 17 00:00:00 2001 From: LoRd_MuldeR Date: Sun, 21 Oct 2018 14:22:04 +0200 Subject: [PATCH] Use simplified() method to clean-up input lines. --- src/UpdateChecker.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/UpdateChecker.cpp b/src/UpdateChecker.cpp index 612e202..a829f41 100644 --- a/src/UpdateChecker.cpp +++ b/src/UpdateChecker.cpp @@ -522,7 +522,7 @@ bool MUtils::UpdateChecker::parseVersionInfo(const QString &file, UpdateCheckerI while(!data.atEnd()) { - QString line = QString::fromLatin1(data.readLine()).trimmed(); + QString line = QString::fromLatin1(data.readLine()).simplified(); if (regex_sec.indexIn(line) >= 0) { sectionId = 0; /*unknown section*/