diff options
Diffstat (limited to 'src/declarative/items/context2d/qquickcontext2d.cpp')
-rw-r--r-- | src/declarative/items/context2d/qquickcontext2d.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/declarative/items/context2d/qquickcontext2d.cpp b/src/declarative/items/context2d/qquickcontext2d.cpp index ade890d943..2297f53769 100644 --- a/src/declarative/items/context2d/qquickcontext2d.cpp +++ b/src/declarative/items/context2d/qquickcontext2d.cpp @@ -120,6 +120,7 @@ QColor qt_color_from_string(v8::Local<v8::Value> name) return QColor(p); else { bool isRgb(false), isHsl(false), hasAlpha(false); + Q_UNUSED(isHsl) while (isspace(*p)) p++; if (strncmp(p, "rgb", 3) == 0) |