mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2026-06-06 07:55:05 -06:00
Qt compat fix (again) (#1895)
* fix compilation on older QT6 * fix indent my C++ is very rusty * fix indents again * Fixed formatting * fix capitalization error --------- Co-authored-by: OpenSauce04 <opensauce04@gmail.com>
This commit is contained in:
parent
e677f72bda
commit
ae9972b6be
@ -231,7 +231,7 @@ void ConfigureMotionTouch::ConnectEvents() {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
#if QT_VERSION < QT_VERSION_CHECK(6, 7, 0)
|
#if QT_VERSION < QT_VERSION_CHECK(6, 7, 0)
|
||||||
connect(ui->touchpad_checkbox, &QCheckBox::StateChanged, this, [this]() { UpdateUiDisplay(); });
|
connect(ui->touchpad_checkbox, &QCheckBox::stateChanged, this, [this]() { UpdateUiDisplay(); });
|
||||||
#else
|
#else
|
||||||
connect(ui->touchpad_checkbox, &QCheckBox::checkStateChanged, this,
|
connect(ui->touchpad_checkbox, &QCheckBox::checkStateChanged, this,
|
||||||
[this]() { UpdateUiDisplay(); });
|
[this]() { UpdateUiDisplay(); });
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user