Home GnuPG

Fix compilation with Clang 16

Description

Fix compilation with Clang 16

With Clang 16, the enum has a size of two bytes and QAccessible::UserRole is the largest possible value.
This means that UserRole + 1 is too large, causing compilation to fail. See QTBUG 117517

(cherry picked from commit aa995b655a64df5beafc6c130a1c62a6e51bee15)

Details

Provenance
TobiasFellaAuthored on Jan 23 2024, 11:50 AM
ikloeckerCommitted on Jan 24 2024, 8:39 AM
Parents
rKLEOPATRA694659de050e: GIT_SILENT Sync po/docbooks with svn
Branches
Unknown
Tags
Unknown
References
refs/backups/work-branch-work/cherry-pick-aa995b65-1706083526