From 04148b4a02fb1fb1d5f3529113124c107fba02f7 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 9 Nov 2013 17:46:19 -0600 Subject: Print additional information when symbol not found by KLibLoader (cherry picked from commit ef3c8ab413c95e7d307adbd5f55ee8b20bf1a77b) --- kdecore/klibloader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kdecore/klibloader.cpp') 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; } -- cgit v1.2.1