From cc692bb58c8a39f06eb30c04cfcb61fa466d18ae Mon Sep 17 00:00:00 2001 From: Allan Sandfeld Jensen Date: Tue, 29 Sep 2020 16:31:53 +0200 Subject: Get rid of some #ifdef qt6 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit None of this code is even compiled in qt6. Change-Id: I5891cc9459320083ad3908fcbf646f3ba75b8a4d Reviewed-by: Tor Arne Vestbø Reviewed-by: Sona Kurazyan Reviewed-by: Thiago Macieira --- src/gui/text/qtextobject.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/gui/text/qtextobject.h') 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; -- cgit v1.2.3