aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/plugins/debugger/console/consoleview.cpp4
-rw-r--r--src/plugins/debugger/debuggerplugin.cpp3
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()