diff options
author | Paul Olav Tvete <paul.tvete@nokia.com> | 2010-10-28 11:47:57 (GMT) |
---|---|---|
committer | Paul Olav Tvete <paul.tvete@nokia.com> | 2010-10-28 11:47:57 (GMT) |
commit | fee7ca62b6611f4a662fbb4541c83e280be08aba (patch) | |
tree | 0c2610330788e11a28c87d364fa55144c937b61f /src/plugins | |
parent | 9a26fba1b08a031b8053236feab989333ab60bfc (diff) | |
download | Qt-fee7ca62b6611f4a662fbb4541c83e280be08aba.zip Qt-fee7ca62b6611f4a662fbb4541c83e280be08aba.tar.gz Qt-fee7ca62b6611f4a662fbb4541c83e280be08aba.tar.bz2 |
Fix typos found by the spellchecking autotest
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/generic/linuxinput/qlinuxinput.cpp | 2 | ||||
-rw-r--r-- | src/plugins/platforms/eglconvenience/qeglconvenience.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/generic/linuxinput/qlinuxinput.cpp b/src/plugins/generic/linuxinput/qlinuxinput.cpp index bd57fa3..c5bfd33 100644 --- a/src/plugins/generic/linuxinput/qlinuxinput.cpp +++ b/src/plugins/generic/linuxinput/qlinuxinput.cpp @@ -445,7 +445,7 @@ QLinuxInputKeyboardHandler::QLinuxInputKeyboardHandler(const QString &key, const // record the original mode so we can restore it again in the destructor. ::ioctl(m_tty_fd, KDGKBMODE, &m_orig_kbmode); - // setting this tranlation mode is even needed in INPUT mode to prevent + // setting this translation mode is even needed in INPUT mode to prevent // the shell from also interpreting codes, if the process has a tty // attached: e.g. Ctrl+C wouldn't copy, but kill the application. ::ioctl(m_tty_fd, KDSKBMODE, K_MEDIUMRAW); diff --git a/src/plugins/platforms/eglconvenience/qeglconvenience.cpp b/src/plugins/platforms/eglconvenience/qeglconvenience.cpp index b3a4c53..106041d 100644 --- a/src/plugins/platforms/eglconvenience/qeglconvenience.cpp +++ b/src/plugins/platforms/eglconvenience/qeglconvenience.cpp @@ -39,7 +39,7 @@ QVector<EGLint> q_createConfigAttributesFromFormat(const QPlatformWindowFormat & // put in the list before 32-bit configs. So, to make sure 16-bit is preffered over 32-bit, // we must set the red/green/blue sizes to zero. This has an unfortunate consequence that // if the application sets the red/green/blue size to 5/6/5 on the QPlatformWindowFormat, - // they will probably get a 32-bit config, even when there's an RGB565 config avaliable. + // they will probably get a 32-bit config, even when there's an RGB565 config available. // Now normalize the values so -1 becomes 0 redSize = redSize > 0 ? redSize : 0; @@ -111,7 +111,7 @@ bool q_reduceConfigAttributes(QVector<EGLint> *configAttributes) // those with smaller (but faster) lower color depths. One // way around this is to set EGL_BUFFER_SIZE to 16, which // trumps the others. Of course, there may not be a 16-bit - // config avaliable, so it's the first restraint we remove. + // config available, so it's the first restraint we remove. i = configAttributes->indexOf(EGL_BUFFER_SIZE); if (i >= 0) { if (configAttributes->at(i+1) == 16) { |