diff options
author | Jarek Kobus <jaroslaw.kobus@qt.io> | 2022-07-25 09:36:45 +0200 |
---|---|---|
committer | Jarek Kobus <jaroslaw.kobus@qt.io> | 2022-07-25 13:57:57 +0000 |
commit | 3daec60eb323500d17e479ef3ca5b15cd15c4697 (patch) | |
tree | c3abd494cca4b7c0bb4cbbd84757e20cb3fd6265 /src/plugins/coreplugin/mainwindow.cpp | |
parent | 756f1ddafc694fef15caa2c3af37e232d141e821 (diff) |
Drop Qt5: CorePlugin: Remove code below Qt 6.0.0
Change-Id: Ib00643f43ae1dfa42ae7ce6b4275fd50dd572765
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'src/plugins/coreplugin/mainwindow.cpp')
-rw-r--r-- | src/plugins/coreplugin/mainwindow.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/plugins/coreplugin/mainwindow.cpp b/src/plugins/coreplugin/mainwindow.cpp index 66c4934738..ae51062df2 100644 --- a/src/plugins/coreplugin/mainwindow.cpp +++ b/src/plugins/coreplugin/mainwindow.cpp @@ -1427,11 +1427,7 @@ public: // with the last pixel visible if (fmt.property(QTextFormat::HeadingLevel) == 2) { QTextCharFormat charFmt = currentBlock().charFormat(); -#if QT_VERSION <= QT_VERSION_CHECK(6, 0, 0) - charFmt.setVerticalAlignment(QTextCharFormat::AlignSuperScript); -#else charFmt.setBaselineOffset(15); -#endif setFormat(0, text.length(), charFmt); if (h2Brush.style() == Qt::NoBrush) { |