Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up systray methods, make more QML-friendly #4687

Merged
merged 1 commit into from
Jul 6, 2022

Conversation

claucambra
Copy link
Collaborator

The Systray class has at the moment several unnecessary Q_INVOKABLE methods, and other methods that could be simplified into properties

This PR cleans up and refactors these methods to make the code cleaner and more QML-friendly

Signed-off-by: Claudio Cambra claudio.cambra@gmail.com

@claucambra claucambra self-assigned this Jun 30, 2022
@codecov
Copy link

codecov bot commented Jun 30, 2022

Codecov Report

Merging #4687 (b712eb9) into master (d6faf0a) will decrease coverage by 0.00%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #4687      +/-   ##
==========================================
- Coverage   56.42%   56.41%   -0.01%     
==========================================
  Files         138      138              
  Lines       17068    17068              
==========================================
- Hits         9630     9629       -1     
- Misses       7438     7439       +1     
Impacted Files Coverage Δ
src/libsync/propagatedownload.cpp 65.18% <0.00%> (-0.15%) ⬇️

Copy link
Collaborator

@mgallien mgallien left a comment

Choose a reason for hiding this comment

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

please have a look at the conflicts (and also the conflicts with your other PRs)

src/gui/systray.h Outdated Show resolved Hide resolved
@claucambra claucambra force-pushed the work/systray-cleanup branch 3 times, most recently from 15fb04c to 1f88ff1 Compare July 6, 2022 09:24
Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
@claucambra claucambra force-pushed the work/systray-cleanup branch from 1f88ff1 to b712eb9 Compare July 6, 2022 09:26
@nextcloud-desktop-bot
Copy link

AppImage file: Nextcloud-PR-4687-1f88ff14b4742b55cbb4570b64bdf9f1473c2c83-x86_64.AppImage

To test this change/fix you can simply download above AppImage file and test it.

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

@sonarcloud
Copy link

sonarcloud bot commented Jul 6, 2022

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@claucambra
Copy link
Collaborator Author

Rebased and conflicts fixed

@claucambra claucambra merged commit 2ffe640 into master Jul 6, 2022
@claucambra claucambra deleted the work/systray-cleanup branch July 6, 2022 10:38
@claucambra
Copy link
Collaborator Author

/backport to stable-3.5

@claucambra
Copy link
Collaborator Author

/backport to stable-3.5

@backportbot-nextcloud
Copy link

The backport to stable-3.5 failed. Please do this backport manually.

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.

4 participants