Skip to content

Commit 97de8ff

Browse files
committed
fix(gui): guard unused showTrayPopup position on macOS
The position parameter is only unused in the macOS branch, so scope the annotation there with Q_UNUSED instead of [[maybe_unused]] on the signature. Assisted-by: Claude Code:claude-opus-4-8 Signed-off-by: Camila Ayres <camila.ayres@nextcloud.com>
1 parent 48d2418 commit 97de8ff

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/gui/systray.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,7 @@ void Systray::showTrayPopup(WindowPosition position)
212212
}
213213

214214
#ifdef Q_OS_MACOS
215+
Q_UNUSED(position)
215216
if (showMacOSTrayPopup(geometry())) {
216217
setIsOpen(true);
217218
UserModel::instance()->fetchCurrentActivityModel();

0 commit comments

Comments
 (0)