summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qtextobject.h
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2020-09-29 16:31:53 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2020-09-30 21:15:40 +0200
commitcc692bb58c8a39f06eb30c04cfcb61fa466d18ae (patch)
tree3e32794fa51a2d85356596710b11c8290388b8da /src/gui/text/qtextobject.h
parent47ae99a07ab5726e5316d56f0ca3ce958cd85ac5 (diff)
Get rid of some #ifdef qt6
None of this code is even compiled in qt6. Change-Id: I5891cc9459320083ad3908fcbf646f3ba75b8a4d Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io> Reviewed-by: Sona Kurazyan <sona.kurazyan@qt.io> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/gui/text/qtextobject.h')
-rw-r--r--src/gui/text/qtextobject.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gui/text/qtextobject.h b/src/gui/text/qtextobject.h
index 1d4448029d..fbe3e7b9e4 100644
--- a/src/gui/text/qtextobject.h
+++ b/src/gui/text/qtextobject.h
@@ -250,10 +250,6 @@ public:
iterator(const QTextDocumentPrivate *priv, int begin, int end, int f) : p(priv), b(begin), e(end), n(f) {}
public:
iterator() : p(nullptr), b(0), e(0), n(0) {}
-#if QT_VERSION < QT_VERSION_CHECK(6,0,0)
- iterator(const iterator &o) : p(o.p), b(o.b), e(o.e), n(o.n) {}
- iterator &operator=(const iterator &o) = default;
-#endif
QTextFragment fragment() const;