summaryrefslogtreecommitdiffstats
path: root/tests/auto/compositor/testkeyboardgrabber.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/compositor/testkeyboardgrabber.cpp')
-rw-r--r--tests/auto/compositor/testkeyboardgrabber.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/compositor/testkeyboardgrabber.cpp b/tests/auto/compositor/testkeyboardgrabber.cpp
index f252e2c8c..315b7f4fd 100644
--- a/tests/auto/compositor/testkeyboardgrabber.cpp
+++ b/tests/auto/compositor/testkeyboardgrabber.cpp
@@ -33,10 +33,10 @@ TestKeyboardGrabber::TestKeyboardGrabber(QWaylandInputDevice *inputDevice)
{
}
-bool TestKeyboardGrabber::setFocus(QWaylandSurface *surface)
+void TestKeyboardGrabber::setFocus(QWaylandSurface *surface)
{
Q_EMIT focusedCalled();
- return QWaylandKeyboard::setFocus(surface);
+ QWaylandKeyboard::setFocus(surface);
}
void TestKeyboardGrabber::sendKeyPressEvent(uint code)