Home GnuPG

Fix crash in KSelectionModelProxy

Description

Fix crash in KSelectionModelProxy

In debug builds, KSelectionModelProxy requires what the given selection
model has as sourceModel the same sourceModel specified in
KSelectionModelProxy constructor.

The Q_ASSERT in KSelectionModelProxy is not completely correct as when
using a QIdentityProxyModel, it will still work.

Details

Provenance
CarlSchwanAuthored on Jul 2 2024, 4:17 PM
Differential Revision
D603: Fix crash in KSelectionModelProxy
Parents
rGPGPASSb35fe761f21d: Use QLatin1StringView for QSettings keys
Branches
Unknown
Tags
Unknown