diff options
author | Richard Moe Gustavsen <richard.gustavsen@nokia.com> | 2009-12-03 08:34:04 (GMT) |
---|---|---|
committer | Richard Moe Gustavsen <richard.gustavsen@nokia.com> | 2009-12-03 09:08:38 (GMT) |
commit | 70e69384c0dd34064e6e0d636bfc510ac2b967b7 (patch) | |
tree | 10ed8527f87f1169344556cf66797ad9d830c0e8 /src/gui/kernel/qmultitouch_mac.mm | |
parent | 4feb6d99ff12968e30e1992d2049ff3271467929 (diff) | |
download | Qt-70e69384c0dd34064e6e0d636bfc510ac2b967b7.zip Qt-70e69384c0dd34064e6e0d636bfc510ac2b967b7.tar.gz Qt-70e69384c0dd34064e6e0d636bfc510ac2b967b7.tar.bz2 |
Cocoa: refactor common code into a shared file
QCocoaWindow and QCocoaPanel has many methods that are implemented
_exactly_ the same way. Those methods are just copied/pasted between
the classes because of inheritance problems. This is error-prone as
bugs tends to be fixed inside one of the classes, but easily forgotten
in the other class. This patch refactors out this code into a new
file that is simply #included from the two classes.
We do this fix for a patch release to ease a couple of fixes that is about
to be integrated.
Reviewed-by: Prasanth
Reviewed-by: Denis
Diffstat (limited to 'src/gui/kernel/qmultitouch_mac.mm')
0 files changed, 0 insertions, 0 deletions