diff options
author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2020-05-07 09:30:16 +0200 |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2020-05-11 11:05:15 +0200 |
commit | 90210c8d28a90295ebbf37ef45b69924ed7f42d0 (patch) | |
tree | a67feb9140d069197bbcaf53fe28d71e4be255cd /src/widgets/widgets/qtextbrowser.h | |
parent | 219e7bafa278792f7bde110d24333fb60b555c12 (diff) |
Remove dead code from src/widgets
Code that's removed via QT_VERSION(6, 0, 0) check is already no
longer compiled.
Change-Id: I70865f330a6260ac2e9cf2770d599a5b6f7bb7d4
Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
Diffstat (limited to 'src/widgets/widgets/qtextbrowser.h')
-rw-r--r-- | src/widgets/widgets/qtextbrowser.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/widgets/widgets/qtextbrowser.h b/src/widgets/widgets/qtextbrowser.h index 7f02999b02..1923129870 100644 --- a/src/widgets/widgets/qtextbrowser.h +++ b/src/widgets/widgets/qtextbrowser.h @@ -90,12 +90,7 @@ public: void setOpenLinks(bool open); public Q_SLOTS: -#if QT_VERSION < QT_VERSION_CHECK(6,0,0) - virtual void setSource(const QUrl &name); - void setSource(const QUrl &name, QTextDocument::ResourceType type); -#else void setSource(const QUrl &name, QTextDocument::ResourceType type = QTextDocument::UnknownResource); -#endif virtual void backward(); virtual void forward(); virtual void home(); @@ -118,10 +113,7 @@ protected: virtual void focusOutEvent(QFocusEvent *ev) override; virtual bool focusNextPrevChild(bool next) override; virtual void paintEvent(QPaintEvent *e) override; -#if QT_VERSION >= QT_VERSION_CHECK(6,0,0) - virtual -#endif - void doSetSource(const QUrl &name, QTextDocument::ResourceType type = QTextDocument::UnknownResource); + virtual void doSetSource(const QUrl &name, QTextDocument::ResourceType type = QTextDocument::UnknownResource); private: Q_DISABLE_COPY(QTextBrowser) |