diff options
Diffstat (limited to 'quacker/quacker.cpp')
-rw-r--r-- | quacker/quacker.cpp | 3 |
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(); |