summaryrefslogtreecommitdiff
path: root/src/widgets/accessible
diff options
context:
space:
mode:
authorTasuku Suzuki <tasuku.suzuki@qt.io>2017-04-25 15:36:48 +0900
committerStephan Binner <stephan.binner@basyskom.com>2017-04-27 15:38:31 +0000
commita9e0879ee16932d8155850b52162ee5429164982 (patch)
treeb967dd908968721dc502c5275c9818c684779bb9 /src/widgets/accessible
parentc1e19a2ecb182ec95eb06de1a35969ac5f56ffd6 (diff)
downloadqtbase-a9e0879ee16932d8155850b52162ee5429164982.tar.gz
Fix build without features.shortcut
Change-Id: I87a7ba1a77b0671559616a3ea4722bcc233af32d Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io> Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
Diffstat (limited to 'src/widgets/accessible')
-rw-r--r--src/widgets/accessible/qaccessiblewidget.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/widgets/accessible/qaccessiblewidget.cpp b/src/widgets/accessible/qaccessiblewidget.cpp
index 94cf58ae3b..d5f7449e57 100644
--- a/src/widgets/accessible/qaccessiblewidget.cpp
+++ b/src/widgets/accessible/qaccessiblewidget.cpp
@@ -148,6 +148,8 @@ QString qt_accHotKey(const QString &text)
int ampIndex = qt_accAmpIndex(text);
if (ampIndex != -1)
return QKeySequence(Qt::ALT).toString(QKeySequence::NativeText) + text.at(ampIndex + 1);
+#else
+ Q_UNUSED(text)
#endif
return QString();