Fix build with -no-feature-shortcut
Change-Id: I43b95991fcf37ac8b125b176a59518e6a81e11dc Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
This commit is contained in:
parent
a8118caad6
commit
2db7a5ebfb
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user