diff options
author | Marco Bubke <marco.bubke@qt.io> | 2021-01-13 13:23:46 +0100 |
---|---|---|
committer | Marco Bubke <marco.bubke@qt.io> | 2021-01-21 13:14:28 +0000 |
commit | 7dc72c533e4bba81ea3126d8cb98840ca746f786 (patch) | |
tree | 9acbffabd17c1ee9c89e4c6b73030d52feee3e7f /src/libs/qmljs/qmljsplugindumper.cpp | |
parent | 3ffc7271e5739d3599e96847e2f5b9764a5c7f2a (diff) |
QmlDesigner: Improve imagecache
Instead of coding some arguments to extraId(state) we provide now a
std::variant there extra arguments can be saved. Because it's a
std::variant it can be easlily extended by new structs. There is a new
synchronous interface too. It has an extra method for QIcon which saves
icons in an extra table. It would be even nicer if we would have a
mipmap image too. So we could do it asynchonously too but so far it works
only in the main thread.
Task-number: QDS-3579
Fixes: QDS-3584
Change-Id: If368d84d82308a91a5f4f037021e749c9ef868ed
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Diffstat (limited to 'src/libs/qmljs/qmljsplugindumper.cpp')
0 files changed, 0 insertions, 0 deletions