Skip to content

Commit

Permalink
qt: Remove some unused include header
Browse files Browse the repository at this point in the history
Change-Id: I1676b2f078f57704c54c8a13bf6689c0fa7b8295
  • Loading branch information
calcitem committed Oct 3, 2023
1 parent 1b9727e commit 13e313b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 42 deletions.
22 changes: 1 addition & 21 deletions src/ui/qt/game_ai.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,37 +14,17 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.

#include <iomanip>
#include <map>
#include <string>

#include <QAbstractButton>
#include <QApplication>
#include <QDir>
#include <QFileInfo>
#include <QGraphicsSceneMouseEvent>
#include <QGraphicsView>
#include <QKeyEvent>
#include <QMessageBox>
#include <QParallelAnimationGroup>
#include <QPropertyAnimation>
#include <QSoundEffect>
#include <QThread>
#include <QTimer>

#include "boarditem.h"
#include "client.h"
#include "game.h"
#include "graphicsconst.h"
#include "option.h"
#include "server.h"


#if defined(GABOR_MALOM_PERFECT_AI)
#include "perfect/perfect_adaptor.h"
#endif

using std::to_string;

bool Game::isAiToMove() const
{
return isAiPlayer[sideToMove];
Expand Down
25 changes: 4 additions & 21 deletions src/ui/qt/game_extra.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,30 +14,13 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.

#include <iomanip>
#include <map>
#ifdef OPENING_BOOK
#include <deque>
#endif

#include <string>

#include <QAbstractButton>
#include <QApplication>
#include <QDir>
#include <QFileInfo>
#include <QGraphicsSceneMouseEvent>
#include <QGraphicsView>
#include <QKeyEvent>
#include <QMessageBox>
#include <QParallelAnimationGroup>
#include <QPropertyAnimation>
#include <QSoundEffect>
#include <QThread>
#include <QTimer>

#include "boarditem.h"
#include "client.h"
#include "game.h"
#include "graphicsconst.h"
#include "option.h"
#include "server.h"

#if defined(GABOR_MALOM_PERFECT_AI)
#include "perfect/perfect_adaptor.h"
Expand Down

0 comments on commit 13e313b

Please sign in to comment.