mirror of
https://github.com/cmclark00/retro-imager.git
synced 2025-05-19 00:15:21 +01:00
Mac: open preferences for user if Imager is not allowed access
Normally the system will prompt the user to allow Imager access to removable volumes. Open preferences and ask user to allow Imager manually in a corner case in which this does not occur.
This commit is contained in:
parent
c4ab7b91a1
commit
7e4f5c9045
3 changed files with 20 additions and 9 deletions
|
@ -12,9 +12,11 @@ class MacFile : public QFile
|
|||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
enum authOpenResult {authOpenCancelled, authOpenSuccess, authOpenError };
|
||||
|
||||
MacFile(QObject *parent = nullptr);
|
||||
virtual bool isSequential() const;
|
||||
bool authOpen(const QByteArray &filename);
|
||||
authOpenResult authOpen(const QByteArray &filename);
|
||||
};
|
||||
|
||||
#endif // MACFILE_H
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue