diff options
author | Tasuku Suzuki <[email protected]> | 2023-10-22 12:43:14 +0900 |
---|---|---|
committer | Tasuku Suzuki <[email protected]> | 2023-11-07 09:59:06 +0900 |
commit | 2db7a5ebfbc9219249a9445f60bfc75685ae98f9 (patch) | |
tree | 62e254f5196f824ad73176fad8d329ec2156cdb1 | |
parent | a8118caad6bec23699fbfd007fa1c0ba45d79277 (diff) |
Fix build with -no-feature-shortcut
Change-Id: I43b95991fcf37ac8b125b176a59518e6a81e11dc
Reviewed-by: Timur Pocheptsov <[email protected]>
-rw-r--r-- | src/gui/kernel/qkeymapper.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/kernel/qkeymapper.cpp b/src/gui/kernel/qkeymapper.cpp index d62ff5657b0..4ceb508465e 100644 --- a/src/gui/kernel/qkeymapper.cpp +++ b/src/gui/kernel/qkeymapper.cpp @@ -50,6 +50,7 @@ QList<QKeyCombination> QKeyMapper::possibleKeys(const QKeyEvent *e) result << (Qt::Key(e->text().at(0).unicode()) | e->modifiers()); } +#if QT_CONFIG(shortcut) if (lcQpaKeyMapper().isDebugEnabled()) { qCDebug(lcQpaKeyMapper) << "Resulting possible key combinations:"; for (auto keyCombination : result) { @@ -59,6 +60,7 @@ QList<QKeyCombination> QKeyMapper::possibleKeys(const QKeyEvent *e) << qUtf8Printable(keySequence.toString(QKeySequence::NativeText)); } } +#endif return result; } |