diff options
author | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com> | 2010-01-29 11:03:42 (GMT) |
---|---|---|
committer | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com> | 2010-01-29 11:03:42 (GMT) |
commit | 951922772c0c5f8b8833c2793064f8c6ebeecd9c (patch) | |
tree | 7cd99856c99bf7cdd02a6096fb845d1d58ba9360 /src/gui/text | |
parent | 5fdbc2e878898ae4314426414382aa8a8c7f2eac (diff) | |
download | Qt-951922772c0c5f8b8833c2793064f8c6ebeecd9c.zip Qt-951922772c0c5f8b8833c2793064f8c6ebeecd9c.tar.gz Qt-951922772c0c5f8b8833c2793064f8c6ebeecd9c.tar.bz2 |
Remove unused constructor in QStaticTextPrivate
The copy constructor for QStaticTextPrivate was never called.
Diffstat (limited to 'src/gui/text')
-rw-r--r-- | src/gui/text/qstatictext.cpp | 10 | ||||
-rw-r--r-- | src/gui/text/qstatictext_p.h | 1 |
2 files changed, 0 insertions, 11 deletions
diff --git a/src/gui/text/qstatictext.cpp b/src/gui/text/qstatictext.cpp index 3f26eb3..6c960bb 100644 --- a/src/gui/text/qstatictext.cpp +++ b/src/gui/text/qstatictext.cpp @@ -275,16 +275,6 @@ QStaticTextPrivate::QStaticTextPrivate() ref = 1; } -QStaticTextPrivate::QStaticTextPrivate(const QStaticTextPrivate &other) - : items(0), itemCount(0), glyphPool(0), positionPool(0), needsClipRect(false) -{ - ref = 1; - text = other.text; - font = other.font; - size = other.size; - init(); -} - QStaticTextPrivate::~QStaticTextPrivate() { delete[] items; diff --git a/src/gui/text/qstatictext_p.h b/src/gui/text/qstatictext_p.h index 919589e..78f7896 100644 --- a/src/gui/text/qstatictext_p.h +++ b/src/gui/text/qstatictext_p.h @@ -82,7 +82,6 @@ class Q_AUTOTEST_EXPORT QStaticTextPrivate { public: QStaticTextPrivate(); - QStaticTextPrivate(const QStaticTextPrivate &other); ~QStaticTextPrivate(); void init(); |