diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2020-01-15 09:18:14 +0100 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2020-01-15 14:09:11 +0100 |
commit | d9a02d5c834b57f0da781c7dcf8d74e3b4ce1314 (patch) | |
tree | 6e3a84437c6c10b9861603b2dc4b4e9bcbd0732a /src/particles | |
parent | c5a8dc153b3d3218360184837b098ba09018d982 (diff) |
Test that we can override an uncreatable singleton type with an instance
This is the most prominent use case for singleton instances. You
register a type for which you cannot manage the life cycle, but you have
one instance of it. That instance can now be registered at runtime to
override the static type registration.
Change-Id: I647b8df13f11f3385ead10ed7d3d617e536b8f87
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/particles')
0 files changed, 0 insertions, 0 deletions