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:
parent
5abc59af2a
commit
be0dfe986e
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user