summaryrefslogtreecommitdiff
path: root/tests/auto/client/primaryselectionv1/tst_primaryselectionv1.cpp
diff options
context:
space:
mode:
authorAleix Pol <aleixpol@kde.org>2023-03-06 01:11:45 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2023-03-06 10:58:18 +0000
commit6d6fc53e71e4b92ca61b7db2b446c3f4b14157d8 (patch)
treeec7e9f15f1be01adfa64f996c088bee39203cb4b /tests/auto/client/primaryselectionv1/tst_primaryselectionv1.cpp
parent8d2de673a0ac34fe8e4b3e58a11e32948df457e3 (diff)
downloadqtwayland-6d6fc53e71e4b92ca61b7db2b446c3f4b14157d8.tar.gz
client: Do not cast placeholder screens to QWaylandScreen
It's wrong to C-cast an object to a class that isn't theirs. Check if it is a placeholder first. Change-Id: I45d3c423422ae6638a033fb0f4cfefc7cd4460f0 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io> Reviewed-by: David Edmundson <davidedmundson@kde.org> (cherry picked from commit a53f022393a1276dbf8eccbae04cb0bd6cea0160) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'tests/auto/client/primaryselectionv1/tst_primaryselectionv1.cpp')
0 files changed, 0 insertions, 0 deletions