the standard icon names as specified in the PDF Reference are CamelCase, so better lowering them when loading their icons

svn path=/trunk/playground/graphics/okular/; revision=582292
This commit is contained in:
Pino Toscano 2006-09-08 23:02:55 +00:00
parent b66b54a9c9
commit ecf3fec2d1

View file

@ -477,7 +477,7 @@ void PagePainter::paintPageOnPainter( QPainter * destPainter, const KPDFPage * p
if ( text->textType == TextAnnotation::Linked )
{
// get pixmap, colorize and alpha-blend it
QPixmap pixmap = DesktopIcon( text->textIcon );
QPixmap pixmap = DesktopIcon( text->textIcon.toLower() );
QImage scaledImage;
scalePixmapOnImage( scaledImage, &pixmap,
annotBoundary.width(),