summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/xcb/qxcbmime.cpp
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@qt.io>2021-03-01 17:17:54 +1100
committerCraig Scott <craig.scott@qt.io>2021-03-02 16:44:45 +1100
commitc6bbca748659468b99002ec4b71559c65963b950 (patch)
tree407de19da701d639591280d82bf74c7adf0f7d2c /src/plugins/platforms/xcb/qxcbmime.cpp
parentb46b33c8179774a32b7f87cafdb942ab64f8e1e2 (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/xcb/qxcbmime.cpp')
0 files changed, 0 insertions, 0 deletions