Terminal: Fix compile with Qt < 6.5.0

Change-Id: I23a95eb598e5bcba43621b2beb5a82b056bf5e83
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
Marcus Tillmanns
2023-06-07 12:57:08 +02:00
parent dd99b83e62
commit b2364923e6

View File

@@ -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