OSDN Git Service
(root)
/
mutilities
/
MUtilities.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe90a2c
)
Use simplified() method to clean-up input lines.
author
LoRd_MuldeR
<mulder2@gmx.de>
Sun, 21 Oct 2018 12:22:04 +0000
(14:22 +0200)
committer
LoRd_MuldeR
<mulder2@gmx.de>
Sun, 21 Oct 2018 12:22:04 +0000
(14:22 +0200)
src/UpdateChecker.cpp
patch
|
blob
|
history
diff --git
a/src/UpdateChecker.cpp
b/src/UpdateChecker.cpp
index
612e202
..
a829f41
100644
(file)
--- 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()).
trimm
ed();
+ QString line = QString::fromLatin1(data.readLine()).
simplifi
ed();
if (regex_sec.indexIn(line) >= 0)
{
sectionId = 0; /*unknown section*/