update:关闭游戏映射

This commit is contained in:
Barry 2019-06-22 09:30:20 +08:00
commit b1f0a07b95
2 changed files with 3 additions and 3 deletions

View file

@ -11,9 +11,9 @@ Controller::Controller(QObject* parent) : QObject(parent)
m_receiver = new Receiver(this); m_receiver = new Receiver(this);
Q_ASSERT(m_receiver); Q_ASSERT(m_receiver);
m_inputConvert = new InputConvertGame(this); m_inputConvert = new InputConvertNormal(this);
Q_ASSERT(m_inputConvert); Q_ASSERT(m_inputConvert);
connect(m_inputConvert, &InputConvertGame::grabCursor, this, &Controller::grabCursor); connect(m_inputConvert, &InputConvertBase::grabCursor, this, &Controller::grabCursor);
} }
Controller::~Controller() Controller::~Controller()

View file

@ -4,7 +4,7 @@
#include <QObject> #include <QObject>
#include <QPointer> #include <QPointer>
#include "inputconvertgame.h" #include "inputconvertnormal.h"
class QTcpSocket; class QTcpSocket;
class Receiver; class Receiver;