diff options
author | Craig Scott <craig.scott@qt.io> | 2021-03-01 17:17:54 +1100 |
---|---|---|
committer | Craig Scott <craig.scott@qt.io> | 2021-03-02 16:44:45 +1100 |
commit | c6bbca748659468b99002ec4b71559c65963b950 (patch) | |
tree | 407de19da701d639591280d82bf74c7adf0f7d2c /src/plugins/platforms/direct2d/qwindowsdirect2dwindow.h | |
parent | b46b33c8179774a32b7f87cafdb942ab64f8e1e2 (diff) |
Make qt_get_module_for_plugin() internal and do what its name says
Contrary to its name, this command was also setting a target property.
Since it was only called in one place and that caller can just as
easily set the property instead, rename the command to make clear its
internal nature and refactor it so that the caller is responsible for
setting that property instead.
Also make it an error rather than just a warning if the command is used
for a target that doesn't belong to any module. Since this is now
unambiguously an internal command, we should always expect the target
to belong to a module.
Pick-to: 6.1
Change-Id: I929a652ddd482653868fc9df887f38f4bc7f35d9
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'src/plugins/platforms/direct2d/qwindowsdirect2dwindow.h')
0 files changed, 0 insertions, 0 deletions