diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-11-09 17:46:19 -0600 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2015-12-23 02:22:32 +0100 |
commit | 04148b4a02fb1fb1d5f3529113124c107fba02f7 (patch) | |
tree | ae975a6b8d3eb7ce55fa5678586e55facae81490 /kdecore | |
parent | 156fc5f825803aa6f07853feab9d943d03d31a14 (diff) | |
download | tdelibs-04148b4a02fb1fb1d5f3529113124c107fba02f7.tar.gz tdelibs-04148b4a02fb1fb1d5f3529113124c107fba02f7.zip |
Print additional information when symbol not found by KLibLoader
(cherry picked from commit ef3c8ab413c95e7d307adbd5f55ee8b20bf1a77b)
Diffstat (limited to 'kdecore')
-rw-r--r-- | kdecore/klibloader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kdecore/klibloader.cpp b/kdecore/klibloader.cpp index aa3f90f0f..c9cf2f54b 100644 --- a/kdecore/klibloader.cpp +++ b/kdecore/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; } |