Suppress warning for unused previousCount on macOS

This commit is contained in:
Nicolas Werner 2024-08-05 20:50:26 +02:00
parent 2d9142d491
commit c8c3d1c611
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9

View file

@ -128,6 +128,8 @@ TrayIcon::setUnreadCount(int count)
setIcon(QIcon(i)); setIcon(QIcon(i));
previousCount = count; previousCount = count;
} }
#else
(void)previousCount;
#endif #endif
QString toolTip = QLatin1String("nheko"); QString toolTip = QLatin1String("nheko");