Doc: Fix snippet in Applications Permissions page
Pick-to: 6.5 Change-Id: I05b7145053f040852765f533f396e25d484f9ac0 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>bb10
parent
4ec8a6e2cb
commit
042c7e58e2
|
|
@ -50,7 +50,7 @@ Q_LOGGING_CATEGORY(lcPermissions, "qt.permissions", QtWarningMsg);
|
|||
QMicrophonePermission microphonePermission;
|
||||
switch (qApp->checkPermission(microphonePermission)) {
|
||||
case Qt::PermissionStatus::Undetermined:
|
||||
qApp->requestPermission(microphonePermission, this
|
||||
qApp->requestPermission(microphonePermission, this,
|
||||
&VoiceMemoWidget::onRecordingInitiated);
|
||||
return;
|
||||
case Qt::PermissionStatus::Denied:
|
||||
|
|
|
|||
Loading…
Reference in New Issue