summaryrefslogtreecommitdiff
path: root/quacker/quacker.cpp
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2025-08-12 13:26:06 -0400
committerpommicket <pommicket@gmail.com>2025-08-12 13:26:06 -0400
commita1a21037c465a1a01b2ca13b70f89becfc93546e (patch)
tree2ab98ea347e8e6095a109b1dfe43670e39ea7bba /quacker/quacker.cpp
parentc197d84de85d4bc1f6ab9f9d3defebdd86820748 (diff)
add move box
Diffstat (limited to 'quacker/quacker.cpp')
-rw-r--r--quacker/quacker.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/quacker/quacker.cpp b/quacker/quacker.cpp
index 3502c3a..c386968 100644
--- a/quacker/quacker.cpp
+++ b/quacker/quacker.cpp
@@ -1295,8 +1295,7 @@ void TopLevel::loadFile(const QString &filename)
QTextStream stream(&file);
delete m_game;
m_game = logania->read(stream, QuackleIO::Logania::MaintainBoardPreparation);
- delete m_macondo;
- m_macondo = new Macondo(m_game);
+ m_macondo->setGame(m_game);
file.close();