Skip to content
Snippets Groups Projects
Commit 70583675 authored by ck's avatar ck
Browse files

Silence silly gcc warning.

Reviewed-by: Erik Verbruggen
parent a53594cf
No related branches found
No related tags found
No related merge requests found
......@@ -139,9 +139,9 @@ public:
// #rgba
for (int i = 1; i < 9; ++i) {
const QChar c = colorString.at(i);
if (c >= QLatin1Char('0') && c <= QLatin1Char('9')
|| c >= QLatin1Char('a') && c <= QLatin1Char('f')
|| c >= QLatin1Char('A') && c <= QLatin1Char('F'))
if ((c >= QLatin1Char('0') && c <= QLatin1Char('9'))
|| (c >= QLatin1Char('a') && c <= QLatin1Char('f'))
|| (c >= QLatin1Char('A') && c <= QLatin1Char('F')))
continue;
ok = false;
break;
......
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