Use simplified() method to clean-up input lines.
This commit is contained in:
parent
fe90a2c688
commit
6d39b858d4
@ -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*/
|
||||
|
Loading…
Reference in New Issue
Block a user