summaryrefslogtreecommitdiffstats
path: root/drkonqi
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2014-04-03 03:25:10 -0500
committerTimothy Pearson <[email protected]>2014-04-03 03:25:10 -0500
commitd4181009884b7ec06880a2335e95e6e355c89c93 (patch)
treedcffd326fd98f91c98e2472fa186c3b3586a9c93 /drkonqi
parent6b44e844a34561491c6a2e32cb4888a85b1416b9 (diff)
downloadtdebase-d4181009884b7ec06880a2335e95e6e355c89c93.tar.gz
tdebase-d4181009884b7ec06880a2335e95e6e355c89c93.zip
Force redraw of desktop shadows
This resolves Bug 1807 Do not abort DrKonqi if a library file could not be opened for SCM analysis
Diffstat (limited to 'drkonqi')
-rw-r--r--drkonqi/backtrace.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/drkonqi/backtrace.cpp b/drkonqi/backtrace.cpp
index b05c4b418..2acd74df5 100644
--- a/drkonqi/backtrace.cpp
+++ b/drkonqi/backtrace.cpp
@@ -339,7 +339,7 @@ void BackTrace::processBacktrace()
libr_access_t access = LIBR_READ;
if((handle = libr_open(const_cast<char*>(libraryName.ascii()), access)) == NULL) {
- kdWarning() << "failed to open file" << libraryName << endl;
+ kdWarning() << "failed to open file " << libraryName << endl;
}
else {
TQString scmModule = elf_get_resource(handle, ".metadata_scmmodule");
@@ -347,9 +347,9 @@ void BackTrace::processBacktrace()
if (scmRevision != "") {
m_strBt.append(TQString("%1:\t%2:%3\n").arg(TQFileInfo(libraryName).fileName()).arg(scmModule).arg(scmRevision));
}
- }
- libr_close(handle);
+ libr_close(handle);
+ }
}
}
infoSharedLibraryLine = infoSharedLibraryTextStream.readLine();