From 6a553bf2f52aa42b77eb44190cab378e055dae93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olivier=20Teuli=C3=A8re?= Date: Sun, 6 Jan 2013 18:31:32 +0100 Subject: [PATCH] PlayModel: remove a TODO --- qt/play_model.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/qt/play_model.cpp b/qt/play_model.cpp index 143cde4..028374d 100644 --- a/qt/play_model.cpp +++ b/qt/play_model.cpp @@ -59,9 +59,8 @@ void PlayModel::setMove(const Move &iMove) LOG_DEBUG("Setting PlayModel move to " << lfw(iMove.toString())); // Avoid useless work - // TODO - //if (iMove == m_currMove) - // return; + if (iMove == m_currMove) + return; m_prevMove = m_currMove; m_currMove = iMove;