Doc: Fix snippet in Applications Permissions page
Change-Id: I05b7145053f040852765f533f396e25d484f9ac0 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io> (cherry picked from commit 042c7e58e2c6cdfeaddc38f7f5378247525a6b81) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
2b8ff57071
commit
30a3a7bcab
@ -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…
x
Reference in New Issue
Block a user