summaryrefslogtreecommitdiffstats
path: root/tdecore
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-11-09 17:46:19 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-11-09 17:46:19 -0600
commitef3c8ab413c95e7d307adbd5f55ee8b20bf1a77b (patch)
tree9e0eaa1d78e9f096759da65574ea31b51188f3f4 /tdecore
parent66eec2bf31f7f8aa25ade248e5e9097f26ac3ecd (diff)
downloadtdelibs-ef3c8ab413c95e7d307adbd5f55ee8b20bf1a77b.tar.gz
tdelibs-ef3c8ab413c95e7d307adbd5f55ee8b20bf1a77b.zip
Print additional information when symbol not found by KLibLoader
Diffstat (limited to 'tdecore')
-rw-r--r--tdecore/klibloader.cpp2
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;
}