aboutsummaryrefslogtreecommitdiffstats
path: root/.qmake.conf
diff options
context:
space:
mode:
authorFrederik Gladhorn <frederik.gladhorn@qt.io>2018-11-06 10:07:43 +0100
committerJani Heikkinen <jani.heikkinen@qt.io>2018-11-06 10:40:15 +0000
commit00b1ff4607a560a2df674d56a70ecf3bd3e4f3df (patch)
tree1e7dd0c185b5adea5d4387785b020da6996f3ee0 /.qmake.conf
parent0477a057fd02050fd330760bf046f5e0e91a9331 (diff)
Fix translation bindings when qtquickcompiler is used
It turns out that the context information is lost when using the compiler. The unit->unitData()->sourceFileIndex is wrong (always 0), which should probably be fixed. This change only works around that by using unit->fileName(); instead. Make sure that the test actually verifies translations happen and have a context. Done-with: Jan Arve Sæther Fixes: QTBUG-71553 Change-Id: Ib5926bd4b9a6267644f5c9328a84c23d61ca5466 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to '.qmake.conf')
0 files changed, 0 insertions, 0 deletions