Properly create KPixmapSequence

Authored by elvisangelaccio on Sep 26 2017, 5:08 PM.

Description

Properly create KPixmapSequence

Summary:
The KPixmapSequence constructor needs the full path of the icon, so the
current code doesn't work and generates a "Invalid pixmap specified"
warning at runtime. By using KIconLoader we can fix this issue.

Test Plan: Search something and reach the end of document to make the animation start.

Subscribers: Okular

Tags: Okular

Differential Revision: https://phabricator.kde.org/D7996

Details

Committed
elvisangelaccioSep 26 2017, 5:12 PM
Differential Revision
D7996: Properly create KPixmapSequence
Parents
R223:e80972e18909: Fix sidebar labels being unreadable when selected or hovered over
Branches
Unknown
Tags
Unknown