Check if group < LastGroup, as KIconEffect doesn't handle UserGroup anyway

Authored by fabiank on May 16 2018, 5:14 PM.

Description

Check if group < LastGroup, as KIconEffect doesn't handle UserGroup anyway

Test Plan:
Run the steps described in the testplan of D12001. Without the patch, the
warning "Illegal icon group: 7" gets displayed, as Okular uses User icons.
Applying the patch fixes this; unit tests still run without failure.

Reviewers: mart, dfaure, mlaurent

Reviewed By: dfaure

Subscribers: Frameworks

Tags: Frameworks

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

Details

Committed
fabiankMay 16 2018, 5:14 PM
Reviewer
dfaure
Differential Revision
D12002: Check if group < LastGroup, as KIconEffect doesn't handle UserGroup anyway
Parents
R302:6acc286da6a1: Make KIconEngine export comment accurate
Branches
Unknown
Tags
Unknown