QTranslator fallback used



  • Hi, is anybody known how to get the QTranslator file used when performing a load that can use fallback (like "_." for search_delimiters). I would like to use a QFileSystemWatcher to attach to the current used resource and reload the QTranslator.

    It work if I used a direct match for the resource name and extension, but if the QTranslator use a file that is a fallback on load, I cannot know which one was selected.

    Maybe a QFileSystemWatcher should be built-in QTranslator, or the filename used could be returned by the load function (extra parameter by reference). Or maybe expose the file selection algo, so we could re-run (not great but at least better then nothing) the file find.

    What do you think?
    I opened a suggestion https://bugreports.qt-project.org/browse/QTBUG-36608


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.