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 #758 - Properly encode path to QUrl when trying to display results #759

Merged
merged 3 commits into from
Oct 14, 2024

Conversation

jmarrec
Copy link
Collaborator

@jmarrec jmarrec commented Oct 9, 2024

My two cents: NEVER USE special characters for files or directory names. Nor space.

Limit all file names to numbers ([0-9]) letters ([a-zA-Z]), and "-", "_" and "." You'll live a a much happier life generally.

My two cents: NEVER USE special characters for files or directory names. Nor space.
Limit all file names to numbers ([0-9]) letters ([a-zA-Z]), and "-", "_" and "."
You'll live a a much happier life generally.
@@ -301,7 +301,6 @@ void ResultsView::populateComboBox(const std::vector<openstudio::path>& reports)
QString fullPathString = toQString(report);

QFile file(fullPathString);
fullPathString.prepend("file:///");
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

No need for that

src/openstudio_lib/ResultsTabView.cpp Show resolved Hide resolved
Copy link
Collaborator

@macumber macumber left a comment

Choose a reason for hiding this comment

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

Looks good, thanks!

@jmarrec jmarrec merged commit 20695ee into develop Oct 14, 2024
11 checks passed
@jmarrec jmarrec deleted the 758_results_url branch October 14, 2024 07:45
@github-actions github-actions bot locked and limited conversation to collaborators Oct 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants