summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qstatictext_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/text/qstatictext_p.h')
-rw-r--r--src/gui/text/qstatictext_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/text/qstatictext_p.h b/src/gui/text/qstatictext_p.h
index 1e334d7..773971a 100644
--- a/src/gui/text/qstatictext_p.h
+++ b/src/gui/text/qstatictext_p.h
@@ -62,12 +62,14 @@ class QStaticTextPrivate
{
public:
QStaticTextPrivate();
+ QStaticTextPrivate(const QStaticTextPrivate &other);
~QStaticTextPrivate();
void init();
QTextLayout *textLayout;
QSizeF size;
+ QAtomicInt ref;
static QStaticTextPrivate *get(const QStaticText *q);
};