Utils: Fix BaseAspect::fromMap()

The world is not boolean.

Amends a2d6c2b34a.

Change-Id: I4bf901ea6967080964ab1681d2e577fed42a0943
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
hjk
2021-02-22 07:43:37 +01:00
parent f600386732
commit fa617b4018

View File

@@ -356,7 +356,7 @@ void BaseAspect::saveToMap(QVariantMap &data, const QVariant &value,
*/ */
void BaseAspect::fromMap(const QVariantMap &map) void BaseAspect::fromMap(const QVariantMap &map)
{ {
setValue(map.value(settingsKey(), defaultValue()).toBool()); setValue(map.value(settingsKey(), defaultValue()));
} }
/*! /*!