mirror of
https://invent.kde.org/graphics/okular
synced 2024-09-20 00:11:19 +00:00
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:
parent
b66b54a9c9
commit
ecf3fec2d1
|
@ -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(),
|
||||
|
|
Loading…
Reference in a new issue