diff options
| author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2023-06-27 18:08:00 +0200 |
|---|---|---|
| committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2023-06-29 03:13:10 +0200 |
| commit | 993cbef7f41446b550c28fcbb30c5c4a5b40d19f (patch) | |
| tree | f8e124d01959650ed39204a9a97484855a7776ab /examples/widgets/windowcontainer/windowcontainer.cpp | |
| parent | 2736e908e9da05ed8a03a8f163237ec68606e1a3 (diff) | |
permissions: Handle unknown permission statuses gracefully
If an application runs on a macOS or iOS version that introduces new
permission statuses that we haven't accounted for, we don't want to
crash.
Replace Q_UNREACHABLE with a warning and Qt::PermissionStatus::Denied.
Pick-to: 6.5 6.6
Change-Id: I063042f510caaa8936742f6195bd455d09c4d9ee
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'examples/widgets/windowcontainer/windowcontainer.cpp')
0 files changed, 0 insertions, 0 deletions
