diff options
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/kernel/qplatformtheme.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/kernel/qplatformtheme.cpp b/src/gui/kernel/qplatformtheme.cpp index 18ac9dc088..c74b2d42a8 100644 --- a/src/gui/kernel/qplatformtheme.cpp +++ b/src/gui/kernel/qplatformtheme.cpp @@ -547,7 +547,7 @@ QList<QKeySequence> QPlatformTheme::keyBindings(QKeySequence::StandardKey key) c else { //We may have several equal values for different platforms, so we must search in both directions //search forward including current location - for (unsigned int i = mid; i < N - 1 ; ++i) { + for (unsigned int i = mid; i < N ; ++i) { QKeyBinding current = QPlatformThemePrivate::keyBindings[i]; if (current.standardKey != key) break; |