diff options
| author | 2019-08-02 20:48:39 +0200 | |
|---|---|---|
| committer | 2019-09-15 19:22:15 +0200 | |
| commit | 8bee33f547f120ecab99d66b8d61711902d9a9e2 (patch) | |
| tree | f612c2b8b7c73cfd6359996ff2ecf516d01e57b9 /parsingtoolbox.cpp | |
| parent | 5d7af9271b6cea3b11e79c67da79b480767ba18a (diff) | |
| download | OneRoll-8bee33f547f120ecab99d66b8d61711902d9a9e2.tar.gz OneRoll-8bee33f547f120ecab99d66b8d61711902d9a9e2.zip | |
prevent warning
Diffstat (limited to 'parsingtoolbox.cpp')
| -rw-r--r-- | parsingtoolbox.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/parsingtoolbox.cpp b/parsingtoolbox.cpp index 4372b41..e3d4955 100644 --- a/parsingtoolbox.cpp +++ b/parsingtoolbox.cpp @@ -864,7 +864,7 @@ SubtituteInfo ParsingToolBox::readVariableFromString(const QString& source, int& int i= start; for(; i >= 0 && !found; --i) { - if(source.at(i) == "$") + if(source.at(i) == '$') { auto rest= source.mid(i + 1, 1 + start - i); qint64 number; |