mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-04-15 18:08:26 +02:00
Fixed issue with QTextStream
This commit is contained in:
parent
41b637bc79
commit
ff0af9f5cc
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ void JSBaker::bake() {
|
|||
bool JSBaker::bakeJS(const QByteArray& inputFile, QByteArray& outputFile) {
|
||||
// Read from inputFile and write to outputFile per character
|
||||
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
|
||||
QChar currentCharacter;
|
||||
|
|
Loading…
Reference in a new issue