[EPubGenerator] Fetch the application palette just once
ClosedPublic

Authored by bruns on May 1 2019, 10:54 PM.

Details

Summary

There is no reason to fetch the palette once per loop,
just do it once

Diff Detail

Repository
R223 Okular
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
bruns created this revision.May 1 2019, 10:54 PM
Restricted Application added a project: Okular. · View Herald TranscriptMay 1 2019, 10:54 PM
Restricted Application added a subscriber: okular-devel. · View Herald Transcript
bruns requested review of this revision.May 1 2019, 10:54 PM
ngraham accepted this revision.May 2 2019, 6:13 PM
This revision is now accepted and ready to land.May 2 2019, 6:13 PM
This revision was automatically updated to reflect the committed changes.