From b2364923e65533973770685017fa626c6e568270 Mon Sep 17 00:00:00 2001 From: Marcus Tillmanns Date: Wed, 7 Jun 2023 12:57:08 +0200 Subject: [PATCH] Terminal: Fix compile with Qt < 6.5.0 Change-Id: I23a95eb598e5bcba43621b2beb5a82b056bf5e83 Reviewed-by: Christian Stenger --- src/plugins/terminal/shortcutmap.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/plugins/terminal/shortcutmap.cpp b/src/plugins/terminal/shortcutmap.cpp index 220f997be9a..7a63a087f69 100644 --- a/src/plugins/terminal/shortcutmap.cpp +++ b/src/plugins/terminal/shortcutmap.cpp @@ -241,7 +241,11 @@ bool ShortcutMap::tryShortcut(QKeyEvent *e) return identicalMatches > 0; } } +#if QT_VERSION >= QT_VERSION_CHECK(6, 5, 0) Q_UNREACHABLE_RETURN(false); +#else + return false; +#endif } /*! \internal