From 6ecfc64a792c42f098a0e59d0c0be4e5c51e46d3 Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Tue, 10 Dec 2024 13:27:42 +0100 Subject: [PATCH] Remove duplicate unused QVariantMap attr in isWinnable --- src/gamestate.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/gamestate.cpp b/src/gamestate.cpp index 391e7b0..f00427a 100644 --- a/src/gamestate.cpp +++ b/src/gamestate.cpp @@ -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; }