diff options
author | Matt Hoosier <matt.hoosier@garmin.com> | 2018-06-06 14:52:46 -0500 |
---|---|---|
committer | Matt Hoosier <matt.hoosier@garmin.com> | 2018-06-08 14:06:29 +0000 |
commit | f96198104d37e94cb7c4198ac7546e7301f849a3 (patch) | |
tree | e1f22f03a2784455d421aa3c1fcfb9df4a247568 /tests | |
parent | aaedbabcc9096e458b2bef6c2b03586939de6871 (diff) |
Compositor: fix QWaylandOutput initializer ordering assumptions
The 'window' and 'sizeFollowsWindow' properties of QWaylandOutput
are exposed to QML. Therefore, it is undefined in what order the
setters for these properties will actually be called if given QML
markup such as:
WaylandOutput {
window: ...
sizeFollowsWindow: ...
}
Fix the sanity test so that the the class does not reject a sequence
performed by the QML runtime such as:
output->setSizeFollowsWindow(true);
output->setWindow(some-qml-window);
[ChangeLog][Compositor] Fixed an issue where the WaylandOutput.window
QML property had to be set before the WaylandOutput.sizeFollowsWindow
property.
Change-Id: I6b9a7dc85dc8954fb340000d5570ec55d5e7badf
Reviewed-by: Johan Helsing <johan.helsing@qt.io>
Reviewed-by: Pier Luigi Fiorini <pierluigi.fiorini@liri.io>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions