[EPubGenerator] Use proper UserResource enum value for custom resource
ClosedPublic

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

Details

Summary

QTextDocument::ResourceType uses values 0 through 3, and provides
UserResource = 100 for custom types. Avoid possible future clashes.

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:57 PM
Restricted Application added a project: Okular. · View Herald TranscriptMay 1 2019, 10:57 PM
Restricted Application added a subscriber: okular-devel. · View Herald Transcript
bruns requested review of this revision.May 1 2019, 10:57 PM
aacid accepted this revision.May 22 2019, 9:53 PM
aacid added a subscriber: aacid.

Makes sense

This revision is now accepted and ready to land.May 22 2019, 9:53 PM
This revision was automatically updated to reflect the committed changes.