At the moment, our plain text reader use QML XMLHttpRequest to read the content of a file.
In file-qml-plugin we have a C++ class to do the same work, which would result in a cleaner and better code.
We should switch to use that C++ class as soon as possible, since we want to add some "advanced" features that are available in C++ Qt API only.
DESIRED SOLUTION:
Use FileReader class from file-qml-plugin, instead of XMLHttpRequest.
At the moment, our plain text reader use QML XMLHttpRequest to read the content of a file.
In file-qml-plugin we have a C++ class to do the same work, which would result in a cleaner and better code.
We should switch to use that C++ class as soon as possible, since we want to add some "advanced" features that are available in C++ Qt API only.
DESIRED SOLUTION:
Use FileReader class from file-qml-plugin, instead of XMLHttpRequest.