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

Branding option to disable the multiple db files warning #9216

Merged
merged 2 commits into from
Nov 16, 2021

Conversation

TheOneRing
Copy link
Member

Also cache error message to prevent unnecessary listing of sync root.

Copy link
Contributor

@dragotin dragotin left a comment

Choose a reason for hiding this comment

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

One comment, otherwise ok.

.arg(path);
qCWarning(lcFolderMan) << error;
if (Theme::instance()->warnOnMultipleDb()) {
return error;
Copy link
Contributor

Choose a reason for hiding this comment

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

Not sure I like this: In the logfile, you will find the Warning/Error, but in fact the code does not return the error. That will be very confusing in debugging situations. Rather add a hint that it was disabled for the log as well.

Copy link
Member Author

Choose a reason for hiding this comment

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

I modified the log message, not sure this is really better 🤷‍♀️

changelog/unreleased/9216 Outdated Show resolved Hide resolved
changelog/unreleased/9216 Outdated Show resolved Hide resolved
changelog/unreleased/9216 Outdated Show resolved Hide resolved
@TheOneRing TheOneRing merged commit aa32490 into 2.9 Nov 16, 2021
@delete-merged-branch delete-merged-branch bot deleted the work/del_multi_db branch November 16, 2021 14:52
@sonarcloud
Copy link

sonarcloud bot commented Nov 16, 2021

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

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

0.0% 0.0% Coverage
0.0% 0.0% Duplication

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.

None yet

3 participants