mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2025-01-24 14:40:54 +01:00
Prefer native notifications instead of D-Bus on macOS
This commit is contained in:
parent
351999a01b
commit
3ae9092226
@ -99,10 +99,10 @@
|
||||
#include "settings/behavioursettingspage.h"
|
||||
#include "settings/appearancesettingspage.h"
|
||||
|
||||
#ifdef HAVE_DBUS
|
||||
# include "osd/osddbus.h"
|
||||
#elif defined(Q_OS_MACOS)
|
||||
#if defined(Q_OS_MACOS)
|
||||
# include "osd/osdmac.h"
|
||||
#elif defined(HAVE_DBUS)
|
||||
# include "osd/osddbus.h"
|
||||
#else
|
||||
# include "osd/osdbase.h"
|
||||
#endif
|
||||
|
@ -360,7 +360,7 @@ void OSDBase::RepeatModeChanged(PlaylistSequence::RepeatMode mode) {
|
||||
|
||||
QString OSDBase::ReplaceMessage(const MessageType type, const QString &message, const Song &song) {
|
||||
|
||||
#ifndef HAVE_DBUS
|
||||
#if !defined(HAVE_DBUS) || defined(Q_OS_MACOS)
|
||||
Q_UNUSED(type)
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user