update:关闭游戏映射

This commit is contained in:
Barry 2019-06-22 09:30:20 +08:00
parent 3b99725009
commit 13d93808b6
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);
Q_ASSERT(m_receiver);
m_inputConvert = new InputConvertGame(this);
m_inputConvert = new InputConvertNormal(this);
Q_ASSERT(m_inputConvert);
connect(m_inputConvert, &InputConvertGame::grabCursor, this, &Controller::grabCursor);
connect(m_inputConvert, &InputConvertBase::grabCursor, this, &Controller::grabCursor);
}
Controller::~Controller()

View file

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