From c8c3d1c6116af01996f8fa71aa9293468b2fa55c Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Mon, 5 Aug 2024 20:50:26 +0200 Subject: [PATCH] Suppress warning for unused previousCount on macOS --- src/TrayIcon.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/TrayIcon.cpp b/src/TrayIcon.cpp index 44bfb6ca..33e1e787 100644 --- a/src/TrayIcon.cpp +++ b/src/TrayIcon.cpp @@ -128,6 +128,8 @@ TrayIcon::setUnreadCount(int count) setIcon(QIcon(i)); previousCount = count; } +#else + (void)previousCount; #endif QString toolTip = QLatin1String("nheko");