diff options
author | Christian Strømme <christian.stromme@theqtcompany.com> | 2016-02-12 18:26:23 +0100 |
---|---|---|
committer | Christian Stromme <christian.stromme@theqtcompany.com> | 2016-03-22 13:02:00 +0000 |
commit | bf60b1636db7c1c4c0ab9d188783991ecd30b7b1 (patch) | |
tree | 751cd4f61c1a4f8911f69d1471db6632847327b7 /tests | |
parent | c09bc82f0aeaecda1d0f669d7a95f2159476273f (diff) |
Mir: Call QPlatformIntegration::destroyScreen() as recommended.
The QPA plugin was deleting the screen object manually, which
is not needed or the recommended approach. The screen(s) are already
maintained by QGuiApplication and destroying the screen object(s) should
be done by calling QPlatformIntegration::destroyScreen().
This change removes the need to keep a reference to the screen(s) in the
mir platform integration class, and removes the warning printed on exit.
Change-Id: I61f37c25ebabf3e96e4cea458c4af454d025926a
Reviewed-by: Paul Olav Tvete <paul.tvete@theqtcompany.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions