diff options
author | Jørgen Lind <jorgen.lind@nokia.com> | 2009-11-06 09:28:52 (GMT) |
---|---|---|
committer | Jørgen Lind <jorgen.lind@nokia.com> | 2009-11-06 12:17:01 (GMT) |
commit | 628a0d9d54f50a9e75cb8f26e4927231a2130e84 (patch) | |
tree | 160ab411b5f7b9096826fce5cdc49dda0ab5bff2 /src/plugins/accessible | |
parent | 4bbcfc85eb69f7a04b1ec4264ded855be0df46d7 (diff) | |
download | Qt-628a0d9d54f50a9e75cb8f26e4927231a2130e84.zip Qt-628a0d9d54f50a9e75cb8f26e4927231a2130e84.tar.gz Qt-628a0d9d54f50a9e75cb8f26e4927231a2130e84.tar.bz2 |
Fix QT_NO_SHORTCUT
Reviewed-by: Harald Fernengel <harald.fernengel@nokia.com>
Diffstat (limited to 'src/plugins/accessible')
-rw-r--r-- | src/plugins/accessible/widgets/simplewidgets.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/accessible/widgets/simplewidgets.cpp b/src/plugins/accessible/widgets/simplewidgets.cpp index aa51759..e0e20db 100644 --- a/src/plugins/accessible/widgets/simplewidgets.cpp +++ b/src/plugins/accessible/widgets/simplewidgets.cpp @@ -256,9 +256,9 @@ QString QAccessibleButton::localizedName(int actionIndex) QStringList QAccessibleButton::keyBindings(int actionIndex) { switch (actionIndex) { -#ifdef QT_NO_SHORTCUT +#ifndef QT_NO_SHORTCUT case 0: - return button()->shortcut().toString(); + return QStringList() << button()->shortcut().toString(); #endif default: return QStringList(); |