Fix unused parameter warnings
This commit is contained in:
parent
133a2f0c29
commit
95449e0843
2 changed files with 3 additions and 0 deletions
|
@ -75,6 +75,7 @@ int libinput_device_config_tap_get_finger_count(struct libinput_device *device)
|
|||
|
||||
enum libinput_config_tap_state libinput_device_config_tap_get_enabled(struct libinput_device *device)
|
||||
{
|
||||
Q_UNUSED(device)
|
||||
return LIBINPUT_CONFIG_TAP_DISABLED;
|
||||
}
|
||||
|
||||
|
|
|
@ -980,6 +980,8 @@ void InputRedirection::setupWorkspace()
|
|||
[this] (FakeInputDevice *device) {
|
||||
connect(device, &FakeInputDevice::authenticationRequested, this,
|
||||
[this, device] (const QString &application, const QString &reason) {
|
||||
Q_UNUSED(application)
|
||||
Q_UNUSED(reason)
|
||||
// TODO: make secure
|
||||
device->setAuthentication(true);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue