diff options
author | Andy Shaw <andy.shaw@qt.io> | 2018-09-07 09:50:32 +0200 |
---|---|---|
committer | Katja Marttila <katja.marttila@qt.io> | 2018-09-10 04:50:10 +0000 |
commit | 8126ce3fe1f7658390626ca319c93ff729373250 (patch) | |
tree | 688ac14acb93164b1521082e64814b0da121ebb9 /LICENSE.FDL | |
parent | 81bc4da588a8950a2c2e3cd3c47b793e46d19bea (diff) |
Prepend file:// on Windows when calling QJSEngine::evaluate()
Due to a bug reported at QTBUG-70425, it is necessary to ensure that
QJSEngine will see the filename passed in as a valid URL. So we
prepend file:// for those cases to ensure qsTr() will find the
right context when looking for translations.
Change-Id: Ib38b1f8467de78ec82c2c6c6909487f3a06c09bb
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
Diffstat (limited to 'LICENSE.FDL')
0 files changed, 0 insertions, 0 deletions