Remove duplicate unused QVariantMap attr in isWinnable
This commit is contained in:
parent
47b80c4e25
commit
6ecfc64a79
|
@ -899,7 +899,6 @@ QVariant GameState::isWinnable() const {
|
|||
// there doesn't seem to be an easy way to specify that this is null from C++
|
||||
map["winnable"] = QVariant();
|
||||
}
|
||||
map["optionalBool"] = m_isWinnable.first.has_value() ? QVariant(m_isWinnable.first.value()) : QVariant::fromValue(QVariant());
|
||||
map["depth"] = m_isWinnable.second;
|
||||
return map;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue