diff options
| author | Ulf Hermann <ulf.hermann@qt.io> | 2020-06-09 12:36:29 +0200 |
|---|---|---|
| committer | Ulf Hermann <ulf.hermann@qt.io> | 2020-06-18 14:59:55 +0200 |
| commit | 34c80149602c1ca52b541cd1adb67b9a1abfd5da (patch) | |
| tree | a74fe9bb7a84eaaba1ae7036a36b55fcda166b8c /src/quick/items/qquicktextnodeengine.cpp | |
| parent | d46c406cc67f12e6a0798ef509abbb973b34d39d (diff) | |
Lock all type modules of the same URI when importing a plugin
A plugin may provide multiple versions of the same types. If we don't
lock them all, a further plugin may later mess with the ones we didn't
lock. The code clearly attempts to prevent such a situation.
Of course, a plugin may still register types under a wholly different
URI, and sidestep this mechanism. However, in contrast to exposing
multiple major versions from the same plugin, this is not recommended.
Change-Id: Ib8d8bbeec8e738020c6d07aedcc4664157b80dcf
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/quick/items/qquicktextnodeengine.cpp')
0 files changed, 0 insertions, 0 deletions
