Skip to content

fix(logs): prints the Qt platform name at startup - #10277

Merged
mgallien merged 3 commits into
masterfrom
fix/addMissingPlatformNameInLogs
Jul 2, 2026
Merged

mgallien merged 3 commits into
masterfrom
fix/addMissingPlatformNameInLogs

fix: shorten version string; details in debug archive

86bb835
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Jul 2, 2026 in 43m 29s

Quality Gate failed

Failed conditions
39 New Code Smells (required ≤ 0)
E Maintainability Rating on New Code (required ≥ A)
D Security 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

Annotations

Check warning on line 128 in src/gui/application.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use the init-statement to declare "shouldTryToMigrate" inside the if statement.

See more on https://sonarcloud.io/project/issues?id=nextcloud_desktop&issues=AZ8clfaQGT3uPLl7RN-S&open=AZ8clfaQGT3uPLl7RN-S&pullRequest=10277

Check warning on line 1250 in src/gui/application.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace the redundant type with "auto".

See more on https://sonarcloud.io/project/issues?id=nextcloud_desktop&issues=AZ8clfaQGT3uPLl7RN-k&open=AZ8clfaQGT3uPLl7RN-k&pullRequest=10277

Check warning on line 193 in src/gui/infosettings.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Unmodified variable "updater" of type "class OCC::OCUpdater *" should be const-qualified.

See more on https://sonarcloud.io/project/issues?id=nextcloud_desktop&issues=AZ8iTJHtF48o4O_dRizn&open=AZ8iTJHtF48o4O_dRizn&pullRequest=10277

Check warning on line 986 in src/gui/application.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Avoid this unnecessary copy by using a "const" reference.

See more on https://sonarcloud.io/project/issues?id=nextcloud_desktop&issues=AZ8clfaQGT3uPLl7RN-f&open=AZ8clfaQGT3uPLl7RN-f&pullRequest=10277

Check warning on line 731 in src/gui/application.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Unmodified variable "cfg" of type "class OCC::ConfigFile" should be const-qualified.

See more on https://sonarcloud.io/project/issues?id=nextcloud_desktop&issues=AZ8clfaQGT3uPLl7RN-c&open=AZ8clfaQGT3uPLl7RN-c&pullRequest=10277

Check warning on line 325 in src/gui/infosettings.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Unmodified variable "notice" of type "class OCC::LegalNotice *" should be const-qualified.

See more on https://sonarcloud.io/project/issues?id=nextcloud_desktop&issues=AZ8iTJHtF48o4O_dRizr&open=AZ8iTJHtF48o4O_dRizr&pullRequest=10277

Check warning on line 677 in src/gui/application.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This function should be declared "const".

See more on https://sonarcloud.io/project/issues?id=nextcloud_desktop&issues=AZ8clfaQGT3uPLl7RN-Y&open=AZ8clfaQGT3uPLl7RN-Y&pullRequest=10277

Check warning on line 433 in src/gui/application.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace "->" with "::" for access to "Theme::doNotUseProxy".

See more on https://sonarcloud.io/project/issues?id=nextcloud_desktop&issues=AZ8clfaQGT3uPLl7RN-W&open=AZ8clfaQGT3uPLl7RN-W&pullRequest=10277

Check warning on line 1139 in src/gui/application.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use the init-statement to declare "configLanguage" inside the if statement.

See more on https://sonarcloud.io/project/issues?id=nextcloud_desktop&issues=AZ8clfaQGT3uPLl7RN-g&open=AZ8clfaQGT3uPLl7RN-g&pullRequest=10277

Check warning on line 388 in src/libsync/theme.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

implicit conversion loses integer precision: 'qsizetype' (aka 'long long') to 'const int'

See more on https://sonarcloud.io/project/issues?id=nextcloud_desktop&issues=AZ8ic7pAikeny8Xk02DR&open=AZ8ic7pAikeny8Xk02DR&pullRequest=10277

Check warning on line 1192 in src/gui/application.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Merge this "if" statement with the enclosing one.

See more on https://sonarcloud.io/project/issues?id=nextcloud_desktop&issues=AZ8clfaQGT3uPLl7RN-j&open=AZ8clfaQGT3uPLl7RN-j&pullRequest=10277

Check warning on line 117 in src/gui/infosettings.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Unmodified variable "config" of type "class OCC::ConfigFile" should be const-qualified.

See more on https://sonarcloud.io/project/issues?id=nextcloud_desktop&issues=AZ8iTJHtF48o4O_dRizl&open=AZ8iTJHtF48o4O_dRizl&pullRequest=10277

Check warning on line 44 in src/gui/infosettings.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Unmodified variable "parent" of type "class QWidget *" should be const-qualified.

See more on https://sonarcloud.io/project/issues?id=nextcloud_desktop&issues=AZ8iTJHtF48o4O_dRizh&open=AZ8iTJHtF48o4O_dRizh&pullRequest=10277

Check failure on line 325 in src/gui/application.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this TOCTOU race condition window when accessing files

See more on https://sonarcloud.io/project/issues?id=nextcloud_desktop&issues=AZ8clfaQGT3uPLl7RN-T&open=AZ8clfaQGT3uPLl7RN-T&pullRequest=10277

Check warning on line 742 in src/libsync/theme.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Unmodified variable "status" of type "enum OCC::SyncResult::Status" should be const-qualified.

See more on https://sonarcloud.io/project/issues?id=nextcloud_desktop&issues=AZ8ic7pAikeny8Xk02DS&open=AZ8ic7pAikeny8Xk02DS&pullRequest=10277

Check warning on line 90 in src/gui/infosettings.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Unmodified variable "cfgFile" of type "class OCC::ConfigFile" should be const-qualified.

See more on https://sonarcloud.io/project/issues?id=nextcloud_desktop&issues=AZ8iTJHtF48o4O_dRizk&open=AZ8iTJHtF48o4O_dRizk&pullRequest=10277

Check warning on line 744 in src/libsync/theme.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Take the required action to fix the issue indicated by this "FIXME" comment.

See more on https://sonarcloud.io/project/issues?id=nextcloud_desktop&issues=AZ8ic7pAikeny8Xk02DQ&open=AZ8ic7pAikeny8Xk02DQ&pullRequest=10277

Check warning on line 770 in src/libsync/theme.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this redundant "case" clause.

See more on https://sonarcloud.io/project/issues?id=nextcloud_desktop&issues=AZ8ic7pAikeny8Xk02DT&open=AZ8ic7pAikeny8Xk02DT&pullRequest=10277

Check warning on line 1093 in src/libsync/theme.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace "->" with "::" for access to "QGuiApplication::styleHints".

See more on https://sonarcloud.io/project/issues?id=nextcloud_desktop&issues=AZ8ic7pAikeny8Xk02DX&open=AZ8ic7pAikeny8Xk02DX&pullRequest=10277

Check failure on line 77 in src/gui/infosettings.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rewrite the code so that you no longer need this "delete".

See more on https://sonarcloud.io/project/issues?id=nextcloud_desktop&issues=AZ8iTJHtF48o4O_dRizj&open=AZ8iTJHtF48o4O_dRizj&pullRequest=10277

Check failure on line 716 in src/gui/application.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this code to not nest more than 3 if|for|do|while|switch statements.

See more on https://sonarcloud.io/project/issues?id=nextcloud_desktop&issues=AZ8clfaQGT3uPLl7RN-Z&open=AZ8clfaQGT3uPLl7RN-Z&pullRequest=10277

Check warning on line 1168 in src/libsync/theme.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This function should be declared "const".

See more on https://sonarcloud.io/project/issues?id=nextcloud_desktop&issues=AZ8ic7pAikeny8Xk02DY&open=AZ8ic7pAikeny8Xk02DY&pullRequest=10277

Check failure on line 46 in src/gui/infosettings.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace the use of "new" with an operation that automatically manages the memory.

See more on https://sonarcloud.io/project/issues?id=nextcloud_desktop&issues=AZ8iTJHtF48o4O_dRizi&open=AZ8iTJHtF48o4O_dRizi&pullRequest=10277

Check failure on line 623 in src/gui/application.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace the use of "new" with an operation that automatically manages the memory.

See more on https://sonarcloud.io/project/issues?id=nextcloud_desktop&issues=AZ8clfaQGT3uPLl7RN-X&open=AZ8clfaQGT3uPLl7RN-X&pullRequest=10277

Check failure on line 712 in src/gui/application.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this TOCTOU race condition window when accessing files

See more on https://sonarcloud.io/project/issues?id=nextcloud_desktop&issues=AZ8clfaQGT3uPLl7RN-a&open=AZ8clfaQGT3uPLl7RN-a&pullRequest=10277