mirror of
https://github.com/barry-ran/QtScrcpy.git
synced 2025-04-20 03:25:02 +00:00
清除未引用形参警告
This commit is contained in:
parent
a5d0e616c8
commit
6e6075d1dc
6 changed files with 8 additions and 3 deletions
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -47,7 +47,7 @@ void ToolForm::mousePressEvent(QMouseEvent *event)
|
|||
|
||||
void ToolForm::mouseReleaseEvent(QMouseEvent *event)
|
||||
{
|
||||
|
||||
Q_UNUSED(event);
|
||||
}
|
||||
|
||||
void ToolForm::mouseMoveEvent(QMouseEvent *event)
|
||||
|
|
|
@ -83,6 +83,7 @@ bool MagneticWidget::eventFilter(QObject *watched, QEvent *event)
|
|||
|
||||
void MagneticWidget::moveEvent(QMoveEvent *event)
|
||||
{
|
||||
Q_UNUSED(event);
|
||||
if (!m_adsorbWidget) {
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
|
3
TODO.txt
3
TODO.txt
|
@ -1,10 +1,9 @@
|
|||
|
||||
模拟点击改用手指
|
||||
中英文翻译
|
||||
tool tips
|
||||
工具栏基本功能
|
||||
server移除
|
||||
mp4录制
|
||||
工具栏扩展(模拟点击指定次数等)
|
||||
|
||||
模拟点击改用手指(注意:辅助按键就都没了)
|
||||
中文输入
|
Loading…
Add table
Reference in a new issue