From 94b5140b53978381bc127bc9965b62b779cc3d84 Mon Sep 17 00:00:00 2001 From: Yuri Chornoivan Date: Thu, 6 Sep 2018 22:24:21 +0300 Subject: [PATCH] Fix minor EBN issues --- .../autotests/client/test_wayland_outputmanagement.cpp | 2 +- src/wayland/autotests/client/test_wayland_seat.cpp | 2 +- src/wayland/server/textinput_interface.h | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/wayland/autotests/client/test_wayland_outputmanagement.cpp b/src/wayland/autotests/client/test_wayland_outputmanagement.cpp index 3b21b18528..2eb723f1be 100644 --- a/src/wayland/autotests/client/test_wayland_outputmanagement.cpp +++ b/src/wayland/autotests/client/test_wayland_outputmanagement.cpp @@ -537,7 +537,7 @@ void TestWaylandOutputManagement::testScale() //will be setApplied using the connect above QCOMPARE(output->scale(), 3); - QCOMPARE(output->scaleF(), 3.0); //test fowards compatibility + QCOMPARE(output->scaleF(), 3.0); //test forward compatibility } diff --git a/src/wayland/autotests/client/test_wayland_seat.cpp b/src/wayland/autotests/client/test_wayland_seat.cpp index 05c7fbc506..b769a5d919 100644 --- a/src/wayland/autotests/client/test_wayland_seat.cpp +++ b/src/wayland/autotests/client/test_wayland_seat.cpp @@ -2183,7 +2183,7 @@ void TestWaylandSeat::testTouch() QCOMPARE(unboundSpy.count(), 1); QCOMPARE(destroyedSpy.count(), 0); QVERIFY(!serverTouch->resource()); - // try to call into all the the methods of the touch interface, should not crash + // try to call into all the methods of the touch interface, should not crash QCOMPARE(m_seatInterface->focusedTouch(), serverTouch); m_seatInterface->setTimestamp(8); QCOMPARE(m_seatInterface->touchDown(QPointF(15, 26)), 0); diff --git a/src/wayland/server/textinput_interface.h b/src/wayland/server/textinput_interface.h index c2ed07a300..941664955f 100644 --- a/src/wayland/server/textinput_interface.h +++ b/src/wayland/server/textinput_interface.h @@ -329,8 +329,8 @@ public: * * The Client processes this event together with the commit string * - * @param beforeLength length of text before current cursor positon. - * @param afterLength length of text after current cursor positon. + * @param beforeLength length of text before current cursor position. + * @param afterLength length of text after current cursor position. * @see commit **/ void deleteSurroundingText(quint32 beforeLength, quint32 afterLength);