diff options
author | James McDonnell <jmcdonnell@blackberry.com> | 2018-03-15 10:36:48 -0400 |
---|---|---|
committer | James McDonnell <jmcdonnell@blackberry.com> | 2018-05-02 13:01:39 +0000 |
commit | 5ea238cda610f678655b2f5f02a9bba9654557e7 (patch) | |
tree | 313191cc2eeeeb15ce77ec70f4d2525f21c7e08b /src/plugins/platforms | |
parent | 8bcb8b069e9a35226c1465265d4d716c864dde54 (diff) |
Add screenContext native property
Retrieving it via some other screen object can be painful especially
when there isn't a readily available screen object to use.
Change-Id: If13e808435ea6f2909d5b4c3c5c736950e00aa5a
Reviewed-by: Dan Cape <dcape@qnx.com>
Reviewed-by: Rafael Roquetto <rafael.roquetto@kdab.com>
Diffstat (limited to 'src/plugins/platforms')
-rw-r--r-- | src/plugins/platforms/qnx/qqnxnativeinterface.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/platforms/qnx/qqnxnativeinterface.cpp b/src/plugins/platforms/qnx/qqnxnativeinterface.cpp index 3eebb9c742..3bd6a86b59 100644 --- a/src/plugins/platforms/qnx/qqnxnativeinterface.cpp +++ b/src/plugins/platforms/qnx/qqnxnativeinterface.cpp @@ -91,6 +91,9 @@ void *QQnxNativeInterface::nativeResourceForScreen(const QByteArray &resource, Q void *QQnxNativeInterface::nativeResourceForIntegration(const QByteArray &resource) { + if (resource == "screenContext") + return m_integration->screenContext(); + return 0; } |