diff options
author | Richard Moe Gustavsen <richard.gustavsen@digia.com> | 2014-09-29 12:40:56 +0200 |
---|---|---|
committer | Richard Moe Gustavsen <richard.gustavsen@digia.com> | 2014-09-29 16:01:06 +0200 |
commit | 9af7104359fd12bd390771ae413b5c1e3971d2f9 (patch) | |
tree | 2a89b292c179ed7984f31f0547818a3ba4845f45 /qmake/generators/win32/msvc_objectmodel.cpp | |
parent | 1e1f5833b1bfb40f6e5349da3de0390d736791fd (diff) |
cocoa: override new QPlatformMenu::popup() function
Having two versions of popup, one that takes a point and one that
takes a target rect, causes problems for client code if they use
the 'target rect' version since not all platforms override that
function.
So this patch will change the remaining platform that override
QPlatformmenu into using the new 'target rect' version.
Calling the old version that takes a point will still work, since
the base version will then convert the point into a zero-sized rect, and
forward the call to the 'target rect' version instead.
Change-Id: Icc8531d79270a4f24ec08b8ed95b18ed3db1ad4d
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
Diffstat (limited to 'qmake/generators/win32/msvc_objectmodel.cpp')
0 files changed, 0 insertions, 0 deletions