mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 20:55:10 +02:00
Merge pull request #11674 from utkarshgautamnyu/fix/JSBaker
Fixed issue with QTextStream in JSBaker
This commit is contained in:
commit
a28f2f19e0
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ void JSBaker::bake() {
|
||||||
bool JSBaker::bakeJS(const QByteArray& inputFile, QByteArray& outputFile) {
|
bool JSBaker::bakeJS(const QByteArray& inputFile, QByteArray& outputFile) {
|
||||||
// Read from inputFile and write to outputFile per character
|
// Read from inputFile and write to outputFile per character
|
||||||
QTextStream in(inputFile, QIODevice::ReadOnly);
|
QTextStream in(inputFile, QIODevice::ReadOnly);
|
||||||
QTextStream out(outputFile, QIODevice::WriteOnly);
|
QTextStream out(&outputFile, QIODevice::WriteOnly);
|
||||||
|
|
||||||
// Algorithm requires the knowledge of previous and next character for each character read
|
// Algorithm requires the knowledge of previous and next character for each character read
|
||||||
QChar currentCharacter;
|
QChar currentCharacter;
|
||||||
|
|
Loading…
Reference in a new issue