comparison src/sys/osx/permissions.cc @ 379:5eaafed6c10b default tip

*: clang-format
author Paper <paper@tflc.us>
date Wed, 05 Nov 2025 12:59:46 -0500
parents 862d0d8619f6
children
comparison
equal deleted inserted replaced
378:5912dafc6e28 379:5eaafed6c10b
7 #include <QMessageBox> 7 #include <QMessageBox>
8 #include <QUrl> 8 #include <QUrl>
9 9
10 namespace osx { 10 namespace osx {
11 11
12 bool AskForPermissions() { 12 bool AskForPermissions()
13 {
13 if (::AXIsProcessTrusted()) 14 if (::AXIsProcessTrusted())
14 return true; 15 return true;
15 16
16 QMessageBox msg; 17 QMessageBox msg;
17 msg.setIcon(QMessageBox::Information); 18 msg.setIcon(QMessageBox::Information);