Warning fixes. (#15877)

This commit is contained in:
zoltanvb 2023-11-06 09:04:17 +01:00 committed by GitHub
parent e7a01dbf67
commit c42498e531
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -3291,13 +3291,13 @@ static int udev_input_add_device(udev_input_t *udev,
device->mouse.y_max = absinfo.maximum;
}
#ifdef UDEV_TOUCH_SUPPORT
if (touch)
{
#ifdef UDEV_TOUCH_SUPPORT
udev_init_touch_dev(device);
udev_sync_touch(device);
}
#endif
}
if (!mouse)
goto end;

View File

@ -1,4 +1,5 @@
#include <QDir>
#include <QHash>
#include <QApplication>
#include <QProgressDialog>