Force redraw of desktop shadows

This resolves Bug 1807
Do not abort DrKonqi if a library file could not be opened for SCM analysis
pull/2/head
Timothy Pearson 10 years ago
parent 6b44e844a3
commit d418100988

@ -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();

@ -150,7 +150,9 @@ void KFileIVIDesktop::drawShadowedText( TQPainter *p, const TQColorGroup &cg )
int textY = textRect( FALSE ).y();
int align = ((TDEIconView *) iconView())->itemTextPos() == TQIconView::Bottom
? AlignHCenter : AlignAuto;
bool rebuild = shouldUpdateShadow(isSelected());
// FIXME
// Work around incorrect shadow position detailed in Bug 1807
bool rebuild = true; // shouldUpdateShadow(isSelected());
KDesktopShadowSettings *settings = (KDesktopShadowSettings *) (m_shadow->shadowSettings());

Loading…
Cancel
Save