From f8f7a77fedc01ccd28e1792ba15c30f184f3d79c Mon Sep 17 00:00:00 2001 From: Fabian Kosmale <0inkane@gmail.com> Date: Fri, 6 Apr 2018 23:57:14 +0200 Subject: [PATCH] use correct filepath --- ui/pageviewannotator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/pageviewannotator.cpp b/ui/pageviewannotator.cpp index 87a79d925..83bf0fb04 100644 --- a/ui/pageviewannotator.cpp +++ b/ui/pageviewannotator.cpp @@ -1182,7 +1182,7 @@ QPixmap PageViewAnnotator::makeToolPixmap( const QDomElement &toolElement ) } else if ( annotType == QLatin1String("note-linked") ) { - QImage overlay( QStandardPaths::locate(QStandardPaths::GenericDataLocation, QString("okular/pics/tool-note-okular-colorizable.png" + imageVariant + ".png") ) ); + QImage overlay( QStandardPaths::locate(QStandardPaths::GenericDataLocation, QString("okular/pics/tool-note-okular-colorizable" + imageVariant + ".png") ) ); GuiUtils::colorizeImage( overlay, engineColor ); p.drawImage( QPoint(0,0), overlay ); }