清除未引用形参警告

This commit is contained in:
Barry 2019-01-26 15:54:43 +08:00
parent a5d0e616c8
commit 6e6075d1dc
6 changed files with 8 additions and 3 deletions

View file

@ -461,6 +461,7 @@ void InputConvertGame::stopMouseMoveTimer()
void InputConvertGame::mouseMoveStartTouch(const QMouseEvent* from)
{
Q_UNUSED(from);
if (!m_mouseMovePress) {
//moveCursorToStart(from);
int id = attachTouchID(Qt::ExtraButton24);

View file

@ -82,6 +82,8 @@ void InputConvertNormal::wheelEvent(const QWheelEvent *from, const QSize& frameS
void InputConvertNormal::keyEvent(const QKeyEvent *from, const QSize& frameSize, const QSize& showSize)
{
Q_UNUSED(frameSize);
Q_UNUSED(showSize);
if (!from) {
return;
}

View file

@ -47,7 +47,7 @@ void ToolForm::mousePressEvent(QMouseEvent *event)
void ToolForm::mouseReleaseEvent(QMouseEvent *event)
{
Q_UNUSED(event);
}
void ToolForm::mouseMoveEvent(QMouseEvent *event)

View file

@ -83,6 +83,7 @@ bool MagneticWidget::eventFilter(QObject *watched, QEvent *event)
void MagneticWidget::moveEvent(QMoveEvent *event)
{
Q_UNUSED(event);
if (!m_adsorbWidget) {
return;
}

View file

@ -349,6 +349,7 @@ void VideoForm::keyReleaseEvent(QKeyEvent *event)
void VideoForm::paintEvent(QPaintEvent *paint)
{
Q_UNUSED(paint);
QStyleOption opt;
opt.init(this);
QPainter p(this);
@ -357,5 +358,6 @@ void VideoForm::paintEvent(QPaintEvent *paint)
void VideoForm::showEvent(QShowEvent *event)
{
Q_UNUSED(event);
showToolFrom();
}

View file

@ -1,10 +1,9 @@
模拟点击改用手指
中英文翻译
tool tips
工具栏基本功能
server移除
mp4录制
工具栏扩展(模拟点击指定次数等)
模拟点击改用手指(注意:辅助按键就都没了)
中文输入