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

@ -347,11 +347,11 @@ void BackTrace::processBacktrace()
if (scmRevision != "") { if (scmRevision != "") {
m_strBt.append(TQString("%1:\t%2:%3\n").arg(TQFileInfo(libraryName).fileName()).arg(scmModule).arg(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(); infoSharedLibraryLine = infoSharedLibraryTextStream.readLine();
} }
#endif // HAVE_ELFICON #endif // HAVE_ELFICON

@ -150,7 +150,9 @@ void KFileIVIDesktop::drawShadowedText( TQPainter *p, const TQColorGroup &cg )
int textY = textRect( FALSE ).y(); int textY = textRect( FALSE ).y();
int align = ((TDEIconView *) iconView())->itemTextPos() == TQIconView::Bottom int align = ((TDEIconView *) iconView())->itemTextPos() == TQIconView::Bottom
? AlignHCenter : AlignAuto; ? 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()); KDesktopShadowSettings *settings = (KDesktopShadowSettings *) (m_shadow->shadowSettings());

Loading…
Cancel
Save