Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Qt5.15.x behavior-change breakage
- Loading branch information
1 parent
f4cd043
commit 50280fa
Showing
1 changed file
with
1 addition
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
50280fa
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For the record, Since urls with a file:/// scheme to access local files inside an epub should not exist, this change is actually needed to work around a bug first introduced by Qt 5.15!
See the two changes starting here:
https://github.com/qt/qtwebengine/blame/5.15.0/src/core/content_browser_client_qt.cpp#L1147
50280fa
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could probably drop the setting altogether, since 'true' is supposed to be the default, but changing a false to a true seemed like it might be an easier/quicker (more logical) patch in case anybody wanted to cherry-pick it.
You'd think one of these 100s of random behavior changes that Qt has inflicted on us would break our way occassionally! ;)