Solve some unreferenced parameter warnings
(C4100: unreferenced formal parameter)
This commit is contained in:
parent
d87fee05a9
commit
ecb2541a93
10 changed files with 22 additions and 3 deletions
|
@ -168,10 +168,10 @@ void ConfigureMotionTouch::UpdateUiDisplay() {
|
|||
void ConfigureMotionTouch::ConnectEvents() {
|
||||
connect(ui->motion_provider,
|
||||
static_cast<void (QComboBox::*)(int)>(&QComboBox::currentIndexChanged), this,
|
||||
[this](int index) { UpdateUiDisplay(); });
|
||||
[this](int index) { Q_UNUSED(index); UpdateUiDisplay(); });
|
||||
connect(ui->touch_provider,
|
||||
static_cast<void (QComboBox::*)(int)>(&QComboBox::currentIndexChanged), this,
|
||||
[this](int index) { UpdateUiDisplay(); });
|
||||
[this](int index) { Q_UNUSED(index); UpdateUiDisplay(); });
|
||||
connect(ui->udp_test, &QPushButton::clicked, this, &ConfigureMotionTouch::OnCemuhookUDPTest);
|
||||
connect(ui->touch_calibration_config, &QPushButton::clicked, this,
|
||||
&ConfigureMotionTouch::OnConfigureTouchCalibration);
|
||||
|
|
|
@ -327,6 +327,7 @@ void ConfigureTouchFromButton::OnBindingChanged(QStandardItem* item) {
|
|||
}
|
||||
|
||||
void ConfigureTouchFromButton::OnBindingDeleted(const QModelIndex& parent, int first, int last) {
|
||||
Q_UNUSED(parent);
|
||||
for (int i = first; i <= last; ++i) {
|
||||
auto ix = binding_list_model->index(i, 0);
|
||||
if (!ix.isValid()) {
|
||||
|
@ -514,6 +515,7 @@ void TouchScreenPreview::mouseMoveEvent(QMouseEvent* event) {
|
|||
}
|
||||
|
||||
void TouchScreenPreview::leaveEvent(QEvent* event) {
|
||||
Q_UNUSED(event);
|
||||
if (coord_label) {
|
||||
coord_label->clear();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue