client: Use nullptr instead of 0 in QWaylandDisplay

Pick-to: 6.6 6.5 6.2
Change-Id: I7c1f3a24e55d1825fd6c941cd55b51cf195836da
Reviewed-by: David Edmundson <davidedmundson@kde.org>
This commit is contained in:
Liang Qi 2023-06-27 11:45:27 +02:00
parent 5abc59af2a
commit be0dfe986e

View File

@ -992,7 +992,7 @@ void QWaylandDisplay::requestWaylandSync()
QWaylandInputDevice *QWaylandDisplay::defaultInputDevice() const
{
return mInputDevices.isEmpty() ? 0 : mInputDevices.first();
return mInputDevices.isEmpty() ? nullptr : mInputDevices.first();
}
bool QWaylandDisplay::isKeyboardAvailable() const