From a8174903353c11d3b3a4f8a9617ec9c8038bd389 Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Mon, 11 Oct 2021 20:27:06 +0200 Subject: qnx: Fix typos in source code comments Change-Id: I6420e14e3de9c7efc7d5073f44ccfd7ee9b88ea6 Reviewed-by: Kai Koehne --- src/plugins/platforms/qnx/qqnxeglwindow.cpp | 2 +- src/plugins/platforms/qnx/qqnxscreeneventhandler.cpp | 2 +- src/plugins/platforms/qnx/qqnxvirtualkeyboardpps.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/plugins') diff --git a/src/plugins/platforms/qnx/qqnxeglwindow.cpp b/src/plugins/platforms/qnx/qqnxeglwindow.cpp index 48766fc435..df36048e48 100644 --- a/src/plugins/platforms/qnx/qqnxeglwindow.cpp +++ b/src/plugins/platforms/qnx/qqnxeglwindow.cpp @@ -79,7 +79,7 @@ bool QQnxEglWindow::isInitialized() const void QQnxEglWindow::ensureInitialized(QQnxGLContext* context) { if (m_newSurfaceRequested.testAndSetOrdered(true, false)) { - const QMutexLocker locker(&m_mutex); // Set geomety must not reset the requestedBufferSize till + const QMutexLocker locker(&m_mutex); // Set geometry must not reset the requestedBufferSize till // the surface is created if (m_requestedBufferSize != bufferSize() || m_eglSurface == EGL_NO_SURFACE) { diff --git a/src/plugins/platforms/qnx/qqnxscreeneventhandler.cpp b/src/plugins/platforms/qnx/qqnxscreeneventhandler.cpp index fc682d66e2..cbcaecb580 100644 --- a/src/plugins/platforms/qnx/qqnxscreeneventhandler.cpp +++ b/src/plugins/platforms/qnx/qqnxscreeneventhandler.cpp @@ -577,7 +577,7 @@ void QQnxScreenEventHandler::handleTouchEvent(screen_event_t event, int qnxType) parent = parent->parent(); } - //Qt expects the pressure between 0 and 1. There is however no definit upper limit for + //Qt expects the pressure between 0 and 1. There is however no definite upper limit for //the integer value of touch event pressure. The 200 was determined by experiment, it //usually does not get higher than that. m_touchPoints[touchId].pressure = static_cast(touchPressure)/200.0; diff --git a/src/plugins/platforms/qnx/qqnxvirtualkeyboardpps.cpp b/src/plugins/platforms/qnx/qqnxvirtualkeyboardpps.cpp index 6f496571fa..0d7bf09599 100644 --- a/src/plugins/platforms/qnx/qqnxvirtualkeyboardpps.cpp +++ b/src/plugins/platforms/qnx/qqnxvirtualkeyboardpps.cpp @@ -240,7 +240,7 @@ bool QQnxVirtualKeyboardPps::showKeyboard() if (!prepareToSend()) return false; - // NOTE: This must be done everytime the keyboard is shown even if there is no change because + // NOTE: This must be done every time the keyboard is shown even if there is no change because // hiding the keyboard wipes the setting. applyKeyboardOptions(); -- cgit v1.2.3