aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJarek Kobus <[email protected]>2022-07-25 09:42:09 +0200
committerJarek Kobus <[email protected]>2022-07-25 18:20:39 +0000
commit8cb867670b7d829cc0f15a92d463af5e3e036574 (patch)
tree5ecd5534a7ef09bacf6bbb539258d190951edfbd /src
parent23075ca2f0be6b15379c5e6254496e456c879d52 (diff)
Drop Qt5: Debugger: Remove code below Qt 6.0.0
Diffstat (limited to 'src')
-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()