Skip to content

Conversation

@Rello
Copy link
Collaborator

@Rello Rello commented Nov 13, 2025

log:

2025-11-13 13:38:51:420 [ warning qt.core.qobject.connect unknown:0 ]: QObject::connect(OCC::NextcloudTheme, Unknown): invalid nullptr parameter

Moved the Theme::systrayUseMonoIconsChanged hookup until after the GUI object is created so Qt no longer warns about connecting NextcloudTheme signals to a null receiver.

log:
> 2025-11-13 13:38:51:420 [ warning qt.core.qobject.connect unknown:0 ]:	QObject::connect(OCC::NextcloudTheme, Unknown): invalid nullptr parameter

Moved the Theme::systrayUseMonoIconsChanged hookup until after the GUI object is created so Qt no longer warns about connecting NextcloudTheme signals to a null receiver.

Signed-off-by: Rello <Rello@users.noreply.github.com>
@Rello Rello changed the title fix: Re-establish connection for systray mono icons fix(log): Re-establish connection for systray mono icons Nov 13, 2025
@github-actions
Copy link

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

Digest: sha256:ce7fa83c324dc5640207a1c0bb25e2dbb2a6fe5e936099014c41eaf8fcff0cd2

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.

@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
16 New Code Smells (required ≤ 0)
D Security Rating on New Code (required ≥ A)
E Maintainability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Copy link
Member

@nilsding nilsding left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks! this actually fixes a bug too -- now the monochrome icon switch happens immediately

@nilsding nilsding added this to the 4.1.0 milestone Nov 13, 2025
@nilsding
Copy link
Member

/backport to stable-4.0

@nilsding nilsding merged commit 949a9af into master Nov 13, 2025
21 of 22 checks passed
@nilsding nilsding deleted the bugfix/nullprt branch November 13, 2025 08:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants