Use macos define everywhere

This commit is contained in:
Nicolas Werner 2024-01-09 03:17:28 +01:00
parent 7b2d04cdd8
commit eaea788a7f
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9
3 changed files with 11 additions and 11 deletions

View file

@ -98,7 +98,7 @@ MsgCountComposedIcon::pixmap(const QSize &size, QIcon::Mode mode, QIcon::State s
TrayIcon::TrayIcon(const QString &filename, QWindow *parent)
: QSystemTrayIcon(parent)
{
#if defined(Q_OS_MAC) || defined(Q_OS_WIN)
#if defined(Q_OS_MACOS) || defined(Q_OS_WIN)
setIcon(QIcon(filename));
#else
icon_ = new MsgCountComposedIcon(filename);