diff options
author | Morten Johan Sørvig <morten.sorvig@digia.com> | 2014-01-20 09:11:35 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-02-04 22:59:04 +0100 |
commit | d01f0213b837d71dd77e29752ebcbf161f227a11 (patch) | |
tree | 82595e1bf63a1b6b991c5b94a4f3549fad009808 /src/plugins/platforms/cocoa/qcocoanativeinterface.h | |
parent | b0e6bc42ebec357816d53456d3ef214f9fb8754c (diff) |
Cocoa: Establish pattern for accessing globals
Use a static QCocoaIntegration pointer instead of
QGuiApplication. This removes the need to call out
of the platform plugin as well as the casting from
"platform" to "cocoa" types.
Change-Id: If432b3567811223b73a67548e475e07d63635b73
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
Diffstat (limited to 'src/plugins/platforms/cocoa/qcocoanativeinterface.h')
-rw-r--r-- | src/plugins/platforms/cocoa/qcocoanativeinterface.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/platforms/cocoa/qcocoanativeinterface.h b/src/plugins/platforms/cocoa/qcocoanativeinterface.h index 5c59c73847..4bcb348acb 100644 --- a/src/plugins/platforms/cocoa/qcocoanativeinterface.h +++ b/src/plugins/platforms/cocoa/qcocoanativeinterface.h @@ -137,6 +137,7 @@ private: static void setContentBorderThickness(QWindow *window, int topThickness, int bottomThickness); }; +QT_END_NAMESPACE + #endif // QCOCOANATIVEINTERFACE_H -QT_END_NAMESPACE |