mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01: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