diff options
Diffstat (limited to 'src/widgets/widgets/qmenubar.cpp')
-rw-r--r-- | src/widgets/widgets/qmenubar.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/widgets/qmenubar.cpp b/src/widgets/widgets/qmenubar.cpp index 4af9ba09e2..c9df8c50eb 100644 --- a/src/widgets/widgets/qmenubar.cpp +++ b/src/widgets/widgets/qmenubar.cpp @@ -1105,7 +1105,7 @@ void QMenuBar::keyPressEvent(QKeyEvent *e) QAction *act = d->actions.at(i); QString s = act->text(); if (!s.isEmpty()) { - int ampersand = s.indexOf(QLatin1Char('&')); + qsizetype ampersand = s.indexOf(u'&'); if (ampersand >= 0) { if (s[ampersand+1].toUpper() == c) { clashCount++; |