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

Merged Changes

CommitAuthorDetailsCommitted
49f871844632D12002fabiank
Check if group < LastGroup, as KIconEffect doesn't handle UserGroup anyway 
May 16 2018