diff options
author | Frederik Gladhorn <frederik.gladhorn@qt.io> | 2017-08-02 22:12:16 +0200 |
---|---|---|
committer | Frederik Gladhorn <frederik.gladhorn@qt.io> | 2017-08-05 16:44:36 +0000 |
commit | 60bfd6a2142bc15996ecadf677cb96154fece6c9 (patch) | |
tree | 669aa1f9d034bca45ad9fba2158b95b04fbfd270 /src/widgets/widgets/qmenu.cpp | |
parent | f77117d6ca4605917ca71135cf3166f4f02fe7d3 (diff) |
Fix typo
Change-Id: Ie82c0996a7b1112fe6d6d259d765737fc3fb6a22
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
Diffstat (limited to 'src/widgets/widgets/qmenu.cpp')
-rw-r--r-- | src/widgets/widgets/qmenu.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/widgets/widgets/qmenu.cpp b/src/widgets/widgets/qmenu.cpp index 0d34121597..58212a737a 100644 --- a/src/widgets/widgets/qmenu.cpp +++ b/src/widgets/widgets/qmenu.cpp @@ -260,7 +260,7 @@ int QMenuPrivate::scrollerHeight() const return qMax(QApplication::globalStrut().height(), q->style()->pixelMetric(QStyle::PM_MenuScrollerHeight, 0, q)); } -//Windows and KDE allows menus to cover the taskbar, while GNOME and Mac don't +//Windows and KDE allow menus to cover the taskbar, while GNOME and Mac don't QRect QMenuPrivate::popupGeometry(const QWidget *widget) const { if (QGuiApplicationPrivate::platformTheme() && @@ -271,7 +271,7 @@ QRect QMenuPrivate::popupGeometry(const QWidget *widget) const } } -//Windows and KDE allows menus to cover the taskbar, while GNOME and Mac don't +//Windows and KDE allow menus to cover the taskbar, while GNOME and Mac don't QRect QMenuPrivate::popupGeometry(int screen) const { if (QGuiApplicationPrivate::platformTheme() && |