Fix unused parameter warnings

This commit is contained in:
Martin Gräßlin 2016-06-29 10:50:51 +02:00
parent 133a2f0c29
commit 95449e0843
2 changed files with 3 additions and 0 deletions

View file

@ -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;
}

View file

@ -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);
}