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 23 2024, 5:47 PM
Parents
rKLEOPATRA769037312fcb: Don't ask a second time for confirmation if a backup has been created
Branches
Unknown
Tags
Unknown
References
refs/backups/work-branch-work/cherry-pick-aa995b65-1706028614