Skip to content

fix: warnings. - #10623

Open
camilasan wants to merge 4 commits into
masterfrom
bugfix/noid/warnings
Open

fix: warnings.#10623
camilasan wants to merge 4 commits into
masterfrom
bugfix/noid/warnings

Conversation

@camilasan

Copy link
Copy Markdown
Member

Resolves

Cleans up warnings during compilation time.

Checklist

AI (if applicable)

@camilasan camilasan added this to the 34.0.3 milestone Aug 18, 2026
@camilasan

Copy link
Copy Markdown
Member Author

/backport to stable-34.0

@camilasan camilasan changed the title Bugfix/noid/warnings fix: warnings, Aug 18, 2026
Comment thread src/gui/macOS/trayaccountpopup/ncaccountactionspopup.mm Outdated
Comment thread src/gui/systray.cpp
@Rello Rello modified the milestones: 34.0.3, 34.0.4 Aug 25, 2026
@camilasan
camilasan force-pushed the bugfix/noid/warnings branch from e000fa2 to 50cdb41 Compare August 31, 2026 19:20
@camilasan camilasan changed the title fix: warnings, fix: warnings. Aug 31, 2026
@camilasan
camilasan force-pushed the bugfix/noid/warnings branch 5 times, most recently from 7c87ef6 to 5628b69 Compare August 31, 2026 19:28
Cleans up compilation warnings:
"warning: use of GNU ?: conditional expression extension,
omitting middle operand [-Wgnu-conditional-omitted-operand]"

Assisted-by: Claude Code:claude-sonnet-5
Signed-off-by: Camila Ayres <hello@camilasan.com>
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 <hello@camilasan.com>
LSSharedFileList was deprecated in macOS 10.11 with no public replacement
for adding items to the Finder sidebar. Wrap the best-effort call in
QT_WARNING_DISABLE_DEPRECATED to keep behavior and drop the 4 warnings.

Assisted-by: Claude Code:claude-opus-4-8
Signed-off-by: Camila Ayres <hello@camilasan.com>
The logic  was duplicated across the tray account popup files.
Add a single helper in TrayPopupViewUtils.

Assisted-by: Claude Code:claude-opus-4-8
Signed-off-by: Camila Ayres <hello@camilasan.com>
@camilasan
camilasan force-pushed the bugfix/noid/warnings branch from 5628b69 to f628071 Compare August 31, 2026 19:28
@sonarqubecloud

Copy link
Copy Markdown

@github-actions

Copy link
Copy Markdown
Contributor

Artifact containing the AppImage: nextcloud-appimage-pr-10623.zip

Digest: sha256:f1da5a1af8dd5d23adb48f36e2858b6bbbafcea33fb02e748fb5f257037064da

To test this change/fix you can download the above artifact file, unzip it, and run it.

Please make sure to quit your existing Nextcloud app and backup your data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants