Skip to content
Snippets Groups Projects
Commit b9ddb348 authored by Fawzi Mohamed's avatar Fawzi Mohamed
Browse files

tests/cpp-frontent: avoid implicit ascii conversions


Change-Id: Iadd84891958f12d1f87ebe4c87e58f9ebd989697
Reviewed-by: default avatarNikolai Kosjar <nikolai.kosjar@digia.com>
parent 56e43ffb
No related branches found
No related tags found
No related merge requests found
......@@ -72,11 +72,11 @@ int main(int argc, char *argv[])
bool optionVerbose = false;
// Process options & arguments
if (args.contains("-v")) {
if (args.contains(QLatin1String("-v"))) {
optionVerbose = true;
args.removeOne("-v");
args.removeOne(QLatin1String("-v"));
}
const bool helpRequested = args.contains("-h") || args.contains("-help");
const bool helpRequested = args.contains(QLatin1String("-h")) || args.contains(QLatin1String("-help"));
if (args.isEmpty() || helpRequested) {
printUsage();
return helpRequested ? EXIT_SUCCESS : EXIT_FAILURE;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment