diff options
-rw-r--r-- | src/quick/items/context2d/qquickcontext2d_p.h | 4 | ||||
-rw-r--r-- | src/quick/items/qquickrectangle.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/quick/items/context2d/qquickcontext2d_p.h b/src/quick/items/context2d/qquickcontext2d_p.h index cfb62ee052..b526c8320d 100644 --- a/src/quick/items/context2d/qquickcontext2d_p.h +++ b/src/quick/items/context2d/qquickcontext2d_p.h @@ -126,8 +126,8 @@ public: struct State { State() - : strokeStyle(QColor("#000000")) - , fillStyle(QColor("#000000")) + : strokeStyle(QColor(Qt::black)) + , fillStyle(QColor(Qt::black)) , fillPatternRepeatX(false) , fillPatternRepeatY(false) , strokePatternRepeatX(false) diff --git a/src/quick/items/qquickrectangle.cpp b/src/quick/items/qquickrectangle.cpp index 223976c32f..9e747f2c47 100644 --- a/src/quick/items/qquickrectangle.cpp +++ b/src/quick/items/qquickrectangle.cpp @@ -72,7 +72,7 @@ QT_BEGIN_NAMESPACE QQuickPen::QQuickPen(QObject *parent) : QObject(parent) , m_width(1) - , m_color("#000000") + , m_color(Qt::black) , m_aligned(true) , m_valid(false) { |