Change-Id: Ie82c0996a7b1112fe6d6d259d765737fc3fb6a22
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
This commit is contained in:
Frederik Gladhorn 2017-08-02 22:12:16 +02:00
parent f77117d6ca
commit 60bfd6a214

View File

@ -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() &&