diff options
author | Peter Varga <pvarga@inf.u-szeged.hu> | 2017-09-06 10:11:42 +0200 |
---|---|---|
committer | Peter Varga <pvarga@inf.u-szeged.hu> | 2017-09-06 13:20:35 +0000 |
commit | c8c4f832ec5853949604d1055a5b32394d23184c (patch) | |
tree | f136d74464d72d03bd5780862486aa982516fd8c /src/virtualkeyboard/t9writeinputmethod.cpp | |
parent | 40482375ce635051ac93caaacb229e967e1f9984 (diff) |
Cleanup: remove unneeded Q_UNUSED macro usages
Change-Id: Ie2301f7a7af8323090e2d71fa644e82898bee841
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/virtualkeyboard/t9writeinputmethod.cpp')
-rw-r--r-- | src/virtualkeyboard/t9writeinputmethod.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/virtualkeyboard/t9writeinputmethod.cpp b/src/virtualkeyboard/t9writeinputmethod.cpp index 14b6508b..47b5966e 100644 --- a/src/virtualkeyboard/t9writeinputmethod.cpp +++ b/src/virtualkeyboard/t9writeinputmethod.cpp @@ -166,7 +166,6 @@ public: static QMutex s_logMutex; static QByteArray s_logString; Q_UNUSED(pUserData) - Q_UNUSED(nLogStringLength) QMutexLocker guard(&s_logMutex); s_logString.append(pLogString, nLogStringLength); if (s_logString.endsWith('\n')) { @@ -800,7 +799,6 @@ public: bool updateSymbolCategoriesCjk(DECUMA_UINT32 language, const QLocale &locale, InputEngine::InputMode inputMode) { - Q_UNUSED(language) Q_ASSERT(cjk); symbolCategories.clear(); @@ -1025,10 +1023,6 @@ public: Trace *traceBegin(int traceId, InputEngine::PatternRecognitionMode patternRecognitionMode, const QVariantMap &traceCaptureDeviceInfo, const QVariantMap &traceScreenInfo) { - Q_UNUSED(traceId) - Q_UNUSED(patternRecognitionMode) - Q_UNUSED(traceScreenInfo) - if (!worker) return 0; @@ -1693,7 +1687,6 @@ bool T9WriteInputMethod::setTextCase(InputEngine::TextCase textCase) bool T9WriteInputMethod::keyEvent(Qt::Key key, const QString &text, Qt::KeyboardModifiers modifiers) { - Q_UNUSED(text) Q_UNUSED(modifiers) Q_D(T9WriteInputMethod); switch (key) { @@ -1802,7 +1795,6 @@ int T9WriteInputMethod::selectionListItemCount(SelectionListModel::Type type) QVariant T9WriteInputMethod::selectionListData(SelectionListModel::Type type, int index, int role) { QVariant result; - Q_UNUSED(type) Q_D(T9WriteInputMethod); switch (role) { case SelectionListModel::DisplayRole: |