aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/items/qquickrectangle.cpp
diff options
context:
space:
mode:
authorAnton Kudryavtsev <a.kudryavtsev@netris.ru>2016-08-25 14:34:36 +0300
committerAnton Kudryavtsev <a.kudryavtsev@netris.ru>2016-08-26 07:18:56 +0000
commit37f410e0bda8099ba4e16b0cc515bd232326be56 (patch)
treecc33ba7613b05110607228f7ba4ef41d71969145 /src/quick/items/qquickrectangle.cpp
parent5903b961c6364544ea122a3cba77216c6aadee5b (diff)
Use predefined color instead of creation from string
Change-Id: I64687d96e38044577870b8dfe60fd7b3a631180d Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'src/quick/items/qquickrectangle.cpp')
-rw-r--r--src/quick/items/qquickrectangle.cpp2
1 files changed, 1 insertions, 1 deletions
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)
{