summaryrefslogtreecommitdiff
path: root/src/svg/qsvgstyle_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/svg/qsvgstyle_p.h')
-rw-r--r--src/svg/qsvgstyle_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/svg/qsvgstyle_p.h b/src/svg/qsvgstyle_p.h
index 8664f7a..28cab14 100644
--- a/src/svg/qsvgstyle_p.h
+++ b/src/svg/qsvgstyle_p.h
@@ -70,7 +70,7 @@ class QSvgTinyDocument;
template <class T> class QSvgRefCounter
{
public:
- QSvgRefCounter() { t = 0; }
+ QSvgRefCounter() { t = nullptr; }
QSvgRefCounter(T *_t)
{
t = _t;
@@ -424,7 +424,7 @@ public:
void setStroke(QBrush brush)
{
m_stroke.setBrush(brush);
- m_style = 0;
+ m_style = nullptr;
m_strokeSet = 1;
}