We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ead88f commit 24f1f1eCopy full SHA for 24f1f1e
src/Parsers/CSFParser.cpp
@@ -130,10 +130,6 @@ using namespace std;
130
131
// Add CompiledString{string Name, wstring Value} to list
132
Table.push_back({stringName, stringValue});
133
- if (stringValue.trimmed() == "")
134
- {
135
- LOGMSG("Warning: read value can be trimmed to empty string");
136
- }
137
}
138
139
@@ -208,9 +204,10 @@ using namespace std;
208
204
QString CSFParser::GetStringValue(const QString& strName) const
209
205
{
210
206
QString returnValue;
207
+ auto tmp = strName.toUpper();
211
212
for (const auto& elem : Table)
213
- if (elem.Name == strName)
+ if (elem.Name.toUpper() == tmp)
214
215
returnValue = elem.Value;
216
break;
0 commit comments