forked from qt-creator/qt-creator
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:
@@ -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()));
|
||||||
}
|
}
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
Reference in New Issue
Block a user