diff options
author | Jarek Kobus <[email protected]> | 2022-07-25 09:42:09 +0200 |
---|---|---|
committer | Jarek Kobus <[email protected]> | 2022-07-25 18:20:39 +0000 |
commit | 8cb867670b7d829cc0f15a92d463af5e3e036574 (patch) | |
tree | 5ecd5534a7ef09bacf6bbb539258d190951edfbd /src | |
parent | 23075ca2f0be6b15379c5e6254496e456c879d52 (diff) |
Drop Qt5: Debugger: Remove code below Qt 6.0.0
Change-Id: I6ccc87465e7bac13268b426070544ca84e0616b2
Reviewed-by: hjk <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/debugger/console/consoleview.cpp | 4 | ||||
-rw-r--r-- | src/plugins/debugger/debuggerplugin.cpp | 3 |
2 files changed, 0 insertions, 7 deletions
diff --git a/src/plugins/debugger/console/consoleview.cpp b/src/plugins/debugger/console/consoleview.cpp index 2053f424022..662752aa325 100644 --- a/src/plugins/debugger/console/consoleview.cpp +++ b/src/plugins/debugger/console/consoleview.cpp @@ -107,12 +107,8 @@ void ConsoleView::mousePressEvent(QMouseEvent *event) bool handled = false; if (type == ConsoleItem::DefaultType) { bool showTypeIcon = index.parent() == QModelIndex(); -#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0) - const QStyleOptionViewItem option = viewOptions(); -#else QStyleOptionViewItem option; initViewItemOption(&option); -#endif ConsoleItemPositions positions(m_model, visualRect(index), option.font, showTypeIcon, true); if (positions.expandCollapseIcon().contains(pos)) { diff --git a/src/plugins/debugger/debuggerplugin.cpp b/src/plugins/debugger/debuggerplugin.cpp index 366ee1a5590..0e42cee7b3c 100644 --- a/src/plugins/debugger/debuggerplugin.cpp +++ b/src/plugins/debugger/debuggerplugin.cpp @@ -2152,9 +2152,6 @@ DebuggerPlugin::DebuggerPlugin() m_instance = this; qRegisterMetaType<PerspectiveState>("Utils::PerspectiveState"); -#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0) - qRegisterMetaTypeStreamOperators<PerspectiveState>("Utils::PerspectiveState"); -#endif } DebuggerPlugin::~DebuggerPlugin() |