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

Fix ctkCoreSettingsTest #1084

Merged
merged 1 commit into from
Apr 14, 2023
Merged

Fix ctkCoreSettingsTest #1084

merged 1 commit into from
Apr 14, 2023

Conversation

jcfr
Copy link
Member

@jcfr jcfr commented Apr 14, 2023

Fix cases specifying <APPLICATION_HOME_DIR> where relevant.

Add missing unix cases and conditionally include platform specific cases. This is required because the function QDir::relativeFilePath() is computes1 the path base on QDir::rootPath() and QDir::drives() that are specific to each operating system.

Also remove unused d variables from ctkCoreSettings.

Footnotes

  1. https://github.com/qt/qtbase/blob/5.15/src/corelib/io/qdir.cpp#L844-L897

Fix cases specifying "<APPLICATION_HOME_DIR>" where relevant.

Add missing unix cases and conditionally include platform specific cases.
This is required because the function QDir::relativeFilePath() is computes
the path base on "QDir::rootPath()" and "QDir::drives()" that are
specific to each operating system.
See https://github.com/qt/qtbase/blob/5.15/src/corelib/io/qdir.cpp#L844-L897

Also remove unused "d" variables from ctkCoreSettings.
@jcfr jcfr requested a review from lassoan April 14, 2023 06:49
@jcfr jcfr merged commit 47a4a0e into commontk:master Apr 14, 2023
@jcfr jcfr deleted the fix-ctkCoreSettingsTest branch April 14, 2023 22:25
@jcfr jcfr mentioned this pull request Jun 15, 2023
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant