QmlDesigner: Add fetchHasImage to ImageCacheStorage

Change-Id: Ieb148abb02527bb84eda4f00af85a66d98731f03
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
Marco Bubke
2022-01-06 12:00:45 +01:00
parent 6d7578a75b
commit b2e1bcc4e5
6 changed files with 39 additions and 2 deletions

View File

@@ -210,8 +210,6 @@ public:
template<typename ResultType, typename... QueryTypes>
auto value(const QueryTypes &...queryValues)
{
static_assert(!std::is_fundamental_v<ResultType>,
"Use optionalValue(...) instead of value(...) for fundamental types!");
Resetter resetter{this};
ResultType resultValue{};