mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2025-01-31 09:44:50 +01:00
Fix macOS compile
This commit is contained in:
parent
b6bfe81f9a
commit
548f8bf23e
@ -43,8 +43,9 @@ class GlobalShortcutsBackendKDE : public GlobalShortcutsBackend {
|
||||
public:
|
||||
explicit GlobalShortcutsBackendKDE(GlobalShortcutsManager *parent);
|
||||
|
||||
protected:
|
||||
bool IsAvailable() override;
|
||||
|
||||
protected:
|
||||
bool DoRegister() override;
|
||||
void DoUnregister() override;
|
||||
|
||||
|
@ -43,14 +43,16 @@ class GlobalShortcutsBackendMacOS : public GlobalShortcutsBackend {
|
||||
explicit GlobalShortcutsBackendMacOS(GlobalShortcutsManager* parent);
|
||||
virtual ~GlobalShortcutsBackendMacOS();
|
||||
|
||||
bool IsAvailable() override { return true; }
|
||||
|
||||
bool IsAccessibilityEnabled() const;
|
||||
void ShowAccessibilityDialog();
|
||||
|
||||
void MacMediaKeyPressed(int key);
|
||||
|
||||
protected:
|
||||
bool DoRegister();
|
||||
void DoUnregister();
|
||||
bool DoRegister() override;
|
||||
void DoUnregister() override;
|
||||
|
||||
private:
|
||||
bool KeyPressed(const QKeySequence &sequence);
|
||||
|
Loading…
x
Reference in New Issue
Block a user