Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
fix(macOS): Open app settings on necessity of sandbox folder migration #9830
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
fix(macOS): Open app settings on necessity of sandbox folder migration #9830
Changes from all commits
90a6d98File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
There are no files selected for viewing
Check warning on line 127 in src/gui/application.cpp
Use the init-statement to declare "shouldTryToMigrate" inside the if statement.
Check failure on line 303 in src/gui/application.cpp
Remove this TOCTOU race condition window when accessing files
Check failure on line 315 in src/gui/application.cpp
Remove this TOCTOU race condition window when accessing files
Check warning on line 323 in src/gui/application.cpp
Replace "->" with "::" for access to "Theme::doNotUseProxy".
Check warning on line 421 in src/gui/application.cpp
Replace "->" with "::" for access to "Theme::doNotUseProxy".
Check failure on line 603 in src/gui/application.cpp
Replace the use of "new" with an operation that automatically manages the memory.
Check failure on line 655 in src/gui/application.cpp
Remove this TOCTOU race condition window when accessing files
Check failure on line 659 in src/gui/application.cpp
Refactor this code to not nest more than 3 if|for|do|while|switch statements.
Check warning on line 672 in src/gui/application.cpp
This function should be declared "const".
Check warning on line 674 in src/gui/application.cpp
Unmodified variable "cfg" of type "class OCC::ConfigFile" should be const-qualified.
Check warning on line 751 in src/gui/application.cpp
Rename this identifier to be shorter or equal to 31 characters.
Check warning on line 751 in src/gui/application.cpp
This function should be declared "const".
Check warning on line 945 in src/gui/application.cpp
Avoid this unnecessary copy by using a "const" reference.
Check warning on line 1088 in src/gui/application.cpp
Use the init-statement to declare "configLanguage" inside the if statement.
Check failure on line 1140 in src/gui/application.cpp
Refactor this code to not nest more than 3 if|for|do|while|switch statements.
Check warning on line 1141 in src/gui/application.cpp
Merge this "if" statement with the enclosing one.
Check warning on line 1149 in src/gui/application.cpp
Merge this "if" statement with the enclosing one.
Check warning on line 1199 in src/gui/application.cpp
Replace the redundant type with "auto".
Check warning on line 69 in src/gui/folderstatusmodel.cpp
Unmodified variable "folders" of type "class QMap<class QString, class OCC::Folder *>" should be const-qualified.
Check warning on line 88 in src/gui/folderstatusmodel.cpp
Replace with the version of "std::ranges::sort" that takes a range.
Check warning on line 129 in src/gui/folderstatusmodel.cpp
Reduce this switch case number of lines from 8 to at most 5, for example by extracting code into methods.
Check warning on line 234 in src/gui/folderstatusmodel.cpp
Avoid this unnecessary copy by using a "const" reference.
Check warning on line 246 in src/gui/folderstatusmodel.cpp
Reduce this switch case number of lines from 11 to at most 5, for example by extracting code into methods.
Check warning on line 249 in src/gui/folderstatusmodel.cpp
Use the init-statement to declare "legacyError" inside the if statement.
Check warning on line 290 in src/gui/folderstatusmodel.cpp
Reduce this switch case number of lines from 18 to at most 5, for example by extracting code into methods.
Check warning on line 340 in src/gui/folderstatusmodel.cpp
Use the init-statement to declare "checked" inside the if statement.
Check failure on line 377 in src/gui/folderstatusmodel.cpp
Refactor this code to not nest more than 3 if|for|do|while|switch statements.
Check warning on line 411 in src/gui/folderstatusmodel.cpp
implicit conversion loses integer precision: 'qsizetype' (aka 'long long') to 'int'
Check warning on line 413 in src/gui/folderstatusmodel.cpp
implicit conversion loses integer precision: 'qsizetype' (aka 'long long') to 'int'
Check warning on line 420 in src/gui/folderstatusmodel.cpp
implicit conversion loses integer precision: 'qsizetype' (aka 'long long') to 'int'
Check warning on line 473 in src/gui/folderstatusmodel.cpp
Unmodified variable "folder" of type "class OCC::Folder *" should be const-qualified.
Check failure on line 473 in src/gui/folderstatusmodel.cpp
Refactor this function to reduce its Cognitive Complexity from 26 to the 25 allowed.
Check warning on line 539 in src/gui/folderstatusmodel.cpp
Make the type of this variable a reference-to-const. The current type of "info" is "struct OCC::FolderStatusModel::SubFolderInfo &".
Check failure on line 623 in src/gui/folderstatusmodel.cpp
Replace the use of "new" with an operation that automatically manages the memory.
Check warning on line 757 in src/gui/folderstatusmodel.cpp
implicit conversion loses integer precision: 'qsizetype' (aka 'long long') to 'parameter_type' (aka 'int')
Check warning on line 826 in src/gui/folderstatusmodel.cpp
implicit conversion loses integer precision: 'qsizetype' (aka 'long long') to 'int'
Check warning on line 834 in src/gui/folderstatusmodel.cpp
Edit this comment to use the C++ format, i.e. "//".
Check warning on line 836 in src/gui/folderstatusmodel.cpp
Replace with the version of "std::ranges::remove_if" that takes a range.
Check warning on line 845 in src/gui/folderstatusmodel.cpp
Make the type of this parameter a pointer-to-const. The current type of "reply" is "class QNetworkReply *".
Check warning on line 845 in src/gui/folderstatusmodel.cpp
Unmodified variable "reply" of type "class QNetworkReply *" should be const-qualified.
Check warning on line 890 in src/gui/folderstatusmodel.cpp
Avoid this unnecessary copy by using a "const" reference.
Check warning on line 930 in src/gui/folderstatusmodel.cpp
Unmodified variable "blackListSet" of type "class QSet<class QString>" should be const-qualified.
Check warning on line 931 in src/gui/folderstatusmodel.cpp
Unmodified variable "oldBlackListSet" of type "class QSet<class QString>" should be const-qualified.
Check warning on line 1052 in src/gui/folderstatusmodel.cpp
Avoid this unnecessary copy by using a "const" reference.
Check warning on line 1154 in src/gui/folderstatusmodel.cpp
Unmodified variable "folder" of type "class OCC::Folder *" should be const-qualified.
Check warning on line 1185 in src/gui/folderstatusmodel.cpp
implicit conversion loses integer precision: 'qsizetype' (aka 'long long') to 'int'
Check warning on line 1352 in src/gui/folderstatusmodel.cpp
implicit conversion loses integer precision: 'qsizetype' (aka 'long long') to 'int'