diff options
author | Rainer Keller <rainer.keller@theqtcompany.com> | 2015-08-25 09:20:58 +0200 |
---|---|---|
committer | Rainer Keller <rainer.keller@theqtcompany.com> | 2015-08-27 07:01:31 +0000 |
commit | 1da76c8dbb25b51fd21bbdc6c22a95bf30313a4c (patch) | |
tree | 14b2244cf21209b477d8a0205ab57b105edf16e2 /src/virtualkeyboard/lipisharedrecognizer.cpp | |
parent | 6c0c174bb4c1628f122208d2806d98c13e5d49b7 (diff) |
Fix useless error message
The error message
"Error 1: Error code is not set"
has no useful information in this case. LTKLinuxUtil::loadSharedLib does
only return the values FAILURE or SUCCESS. No useful error text can be
displayed from that.
Change-Id: Ic1e00ad6a68dd14eddbe7e103a37190643b75270
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi>
Diffstat (limited to 'src/virtualkeyboard/lipisharedrecognizer.cpp')
-rw-r--r-- | src/virtualkeyboard/lipisharedrecognizer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/virtualkeyboard/lipisharedrecognizer.cpp b/src/virtualkeyboard/lipisharedrecognizer.cpp index 8335fdaf..3418422c 100644 --- a/src/virtualkeyboard/lipisharedrecognizer.cpp +++ b/src/virtualkeyboard/lipisharedrecognizer.cpp @@ -176,7 +176,7 @@ int LipiSharedRecognizer::loadLipiInterface() int result = osUtil->loadSharedLib(lipiRootPath, LIPIENGINE_MODULE_STR, &s_lipiEngineHandle); if (result != SUCCESS) { - qWarning() << QString("Error %1: %2").arg(result).arg(getErrorMessage(result).c_str()); + qWarning() << QString("Error %1: Could not open shared library for module '%2'").arg(result).arg(LIPIENGINE_MODULE_STR); return result; } |