Details
-
Suggestion
-
Resolution: Done
-
P3: Somewhat important
-
5.1.1, 5.2.0
-
None
-
QtQuicks 2.1, Qt 5.1.1
Description
I put a post on the forum about this, I try to recover the file name used by the load function when it perform a fallback on a different .qm file to attach a QFileSystemWatcher and automaticaly reload the QTranslator.
http://qt-project.org/forums/viewthread/37920/
I would suggest adding an extra parameter to the function call (A QString) that will give back the selected file used by load.
Attachments
Issue Links
- is duplicated by
-
QTBUG-64416 Allow user of QTranslator::load(...) to know file that was actually selected and loaded for translation
- Closed
- relates to
-
QTBUG-71858 Rethink QTranslator API
- Reported
For Gerrit Dashboard: QTBUG-36608 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
287810,8 | QTranslator: Expose origin file of the translation | 5.15 | qt/qtbase | Status: MERGED | +2 | 0 |