diff options
author | Olivier Blin <olivier.blin@softathome.com> | 2014-09-05 13:05:47 +0200 |
---|---|---|
committer | Olivier Blin <qt@blino.org> | 2014-09-09 14:49:19 +0200 |
commit | 0e954e7f4f14652d4079407cddc9de40381d29fd (patch) | |
tree | cff24a1d079967edda639c281c3b7d4b96d3bc77 | |
parent | 929b4f03a67ec9577dcc9ed8981f69489b1e49a4 (diff) |
InputMethod: fix minor typo in debug log
This also adds parenthesis for clarity, and uses the qDebug() function
instead of the stream, as suggested by Andrew Knight.
Change-Id: I1dc3060d516645345c1df5909c377f611502d2fb
Reviewed-by: Robin Burchell <robin.burchell@viroteck.net>
-rw-r--r-- | src/compositor/wayland_wrapper/qwlinputmethod.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/compositor/wayland_wrapper/qwlinputmethod.cpp b/src/compositor/wayland_wrapper/qwlinputmethod.cpp index 7a3c073c8..d1b43992f 100644 --- a/src/compositor/wayland_wrapper/qwlinputmethod.cpp +++ b/src/compositor/wayland_wrapper/qwlinputmethod.cpp @@ -40,8 +40,6 @@ #include "qwlinputmethod_p.h" -#include <QDebug> - #include "qwlcompositor_p.h" #include "qwlinputdevice_p.h" #include "qwlinputmethodcontext_p.h" @@ -71,7 +69,7 @@ InputMethod::~InputMethod() void InputMethod::activate(TextInput *textInput) { if (!m_resource) { - qDebug() << "Cannout activate no input method running."; + qDebug("Cannot activate (no input method running)."); return; } @@ -92,7 +90,7 @@ void InputMethod::activate(TextInput *textInput) void InputMethod::deactivate() { if (!m_resource) { - qDebug() << "Cannout deactivate no input method running."; + qDebug("Cannot deactivate (no input method running)."); return; } |