summaryrefslogtreecommitdiffstats
path: root/tests/auto/compositor/compositor/tst_compositor.cpp
diff options
context:
space:
mode:
authorKevin Funk <kfunk@kde.org>2017-09-24 23:55:04 +0200
committerKevin Funk <kevin.funk@kdab.com>2017-09-26 15:45:33 +0000
commit064feb4fd76e6adbfcafe449d6ae7f52834c538a (patch)
tree5a9f20aced2da3e4cc6055cae7156e121f4210d0 /tests/auto/compositor/compositor/tst_compositor.cpp
parent62c058f83add9f559f09cf74bc50f721ed75d76a (diff)
Replace Q_NULLPTR with nullptr
Change-Id: I9699a957430b8d3574ce29acb91b7ada9ea6209b Reviewed-by: Jan Arne Petersen <jan.petersen@kdab.com> Reviewed-by: Johan Helsing <johan.helsing@qt.io> Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'tests/auto/compositor/compositor/tst_compositor.cpp')
-rw-r--r--tests/auto/compositor/compositor/tst_compositor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/compositor/compositor/tst_compositor.cpp b/tests/auto/compositor/compositor/tst_compositor.cpp
index 52428eb4..c54903dc 100644
--- a/tests/auto/compositor/compositor/tst_compositor.cpp
+++ b/tests/auto/compositor/compositor/tst_compositor.cpp
@@ -198,7 +198,7 @@ void tst_WaylandCompositor::keyboardGrab()
QTRY_COMPARE(grabKeyReleaseSpy.count(), 2);
// Stop grabbing
- seat->setKeyboardFocus(Q_NULLPTR);
+ seat->setKeyboardFocus(nullptr);
seat->sendFullKeyEvent(&ke);
seat->sendFullKeyEvent(&ke1);
QTRY_COMPARE(grabKeyPressSpy.count(), 2);