forked from qt-creator/qt-creator
Terminal: Fix compile with Qt < 6.5.0
Change-Id: I23a95eb598e5bcba43621b2beb5a82b056bf5e83 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user