Fix typo
Change-Id: Ie82c0996a7b1112fe6d6d259d765737fc3fb6a22 Reviewed-by: Jake Petroules <jake.petroules@qt.io>
This commit is contained in:
parent
f77117d6ca
commit
60bfd6a214
@ -260,7 +260,7 @@ int QMenuPrivate::scrollerHeight() const
|
|||||||
return qMax(QApplication::globalStrut().height(), q->style()->pixelMetric(QStyle::PM_MenuScrollerHeight, 0, q));
|
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
|
QRect QMenuPrivate::popupGeometry(const QWidget *widget) const
|
||||||
{
|
{
|
||||||
if (QGuiApplicationPrivate::platformTheme() &&
|
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
|
QRect QMenuPrivate::popupGeometry(int screen) const
|
||||||
{
|
{
|
||||||
if (QGuiApplicationPrivate::platformTheme() &&
|
if (QGuiApplicationPrivate::platformTheme() &&
|
||||||
|
Loading…
x
Reference in New Issue
Block a user