diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-11-09 17:46:19 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-11-09 17:46:19 -0600 |
commit | ef3c8ab413c95e7d307adbd5f55ee8b20bf1a77b (patch) | |
tree | 9e0eaa1d78e9f096759da65574ea31b51188f3f4 | |
parent | 66eec2bf31f7f8aa25ade248e5e9097f26ac3ecd (diff) | |
download | tdelibs-ef3c8ab413c95e7d307adbd5f55ee8b20bf1a77b.tar.gz tdelibs-ef3c8ab413c95e7d307adbd5f55ee8b20bf1a77b.zip |
Print additional information when symbol not found by KLibLoader
-rw-r--r-- | tdecore/klibloader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tdecore/klibloader.cpp b/tdecore/klibloader.cpp index aed2c06af..0b9db00d4 100644 --- a/tdecore/klibloader.cpp +++ b/tdecore/klibloader.cpp @@ -181,7 +181,7 @@ void* KLibrary::symbol( const char* symname ) const void* sym = lt_dlsym( (lt_dlhandle) m_handle, symname ); if ( !sym ) { - KLibLoader::self()->d->errorMessage = "KLibrary: " + TQString::fromLocal8Bit( lt_dlerror() ); + KLibLoader::self()->d->errorMessage = "KLibrary: " + TQString::fromLocal8Bit( lt_dlerror() ) + i18n( " %1 %2" ).arg( name() ).arg( symname ); kdWarning(150) << KLibLoader::self()->d->errorMessage << endl; return 0; } |