mirror of
https://github.com/barry-ran/QtScrcpy.git
synced 2025-07-30 04:38:37 +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)
|
void InputConvertGame::mouseMoveStartTouch(const QMouseEvent* from)
|
||||||
{
|
{
|
||||||
|
Q_UNUSED(from);
|
||||||
if (!m_mouseMovePress) {
|
if (!m_mouseMovePress) {
|
||||||
//moveCursorToStart(from);
|
//moveCursorToStart(from);
|
||||||
int id = attachTouchID(Qt::ExtraButton24);
|
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)
|
void InputConvertNormal::keyEvent(const QKeyEvent *from, const QSize& frameSize, const QSize& showSize)
|
||||||
{
|
{
|
||||||
|
Q_UNUSED(frameSize);
|
||||||
|
Q_UNUSED(showSize);
|
||||||
if (!from) {
|
if (!from) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
@ -47,7 +47,7 @@ void ToolForm::mousePressEvent(QMouseEvent *event)
|
||||||
|
|
||||||
void ToolForm::mouseReleaseEvent(QMouseEvent *event)
|
void ToolForm::mouseReleaseEvent(QMouseEvent *event)
|
||||||
{
|
{
|
||||||
|
Q_UNUSED(event);
|
||||||
}
|
}
|
||||||
|
|
||||||
void ToolForm::mouseMoveEvent(QMouseEvent *event)
|
void ToolForm::mouseMoveEvent(QMouseEvent *event)
|
||||||
|
|
|
@ -83,6 +83,7 @@ bool MagneticWidget::eventFilter(QObject *watched, QEvent *event)
|
||||||
|
|
||||||
void MagneticWidget::moveEvent(QMoveEvent *event)
|
void MagneticWidget::moveEvent(QMoveEvent *event)
|
||||||
{
|
{
|
||||||
|
Q_UNUSED(event);
|
||||||
if (!m_adsorbWidget) {
|
if (!m_adsorbWidget) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
@ -349,6 +349,7 @@ void VideoForm::keyReleaseEvent(QKeyEvent *event)
|
||||||
|
|
||||||
void VideoForm::paintEvent(QPaintEvent *paint)
|
void VideoForm::paintEvent(QPaintEvent *paint)
|
||||||
{
|
{
|
||||||
|
Q_UNUSED(paint);
|
||||||
QStyleOption opt;
|
QStyleOption opt;
|
||||||
opt.init(this);
|
opt.init(this);
|
||||||
QPainter p(this);
|
QPainter p(this);
|
||||||
|
@ -357,5 +358,6 @@ void VideoForm::paintEvent(QPaintEvent *paint)
|
||||||
|
|
||||||
void VideoForm::showEvent(QShowEvent *event)
|
void VideoForm::showEvent(QShowEvent *event)
|
||||||
{
|
{
|
||||||
|
Q_UNUSED(event);
|
||||||
showToolFrom();
|
showToolFrom();
|
||||||
}
|
}
|
||||||
|
|
3
TODO.txt
3
TODO.txt
|
@ -1,10 +1,9 @@
|
||||||
|
|
||||||
模拟点击改用手指
|
|
||||||
中英文翻译
|
中英文翻译
|
||||||
tool tips
|
tool tips
|
||||||
工具栏基本功能
|
|
||||||
server移除
|
server移除
|
||||||
mp4录制
|
mp4录制
|
||||||
工具栏扩展(模拟点击指定次数等)
|
工具栏扩展(模拟点击指定次数等)
|
||||||
|
|
||||||
|
模拟点击改用手指(注意:辅助按键就都没了)
|
||||||
中文输入
|
中文输入
|
Loading…
Add table
Add a link
Reference in a new issue